Type Aliases

The following type aliases are available globally.

  • A typealias for an ack callback.

    Declaration

    Swift

    public typealias AckCallback = ([Any]) -> ()
  • A typealias for a normal callback.

    Declaration

    Swift

    public typealias NormalCallback = ([Any], SocketAckEmitter) -> ()
  • A typealias for a queued POST

    Declaration

    Swift

    public typealias Post = (msg: String, completion: (() -> ())?)