SocketAckEmitter
public final class SocketAckEmitter : NSObject
A class that represents a waiting ack call.
NOTE: You should not store this beyond the life of the event handler.
-
If true, this handler is expecting to be acked. Call
with(_: SocketData...)to ack.Declaration
Swift
public var expected: Bool
-
Call to ack receiving this event.
If an error occurs trying to transform
itemsinto their socket representation, aSocketClientEvent.errorwill be emitted. The structure of the error data is[ackNum, items, theError]Declaration
Swift
public func with(_ items: SocketData...) -
Call to ack receiving this event.
Declaration
Swift
public func with(_ items: [Any])
SocketAckEmitter Class Reference