nuclearace / Socket.IO-Client-Swift

socket.io-client for Swift
Other
361 stars 53 forks source link

Cancel emit/emitWithAck #69

Closed luzianscherrer closed 9 years ago

luzianscherrer commented 9 years ago

Once an emit or emitWithAck has been made, is there any way to cancel it?

Let's say I call emit and the network is really slow, so nothing goes out during the next 5 seconds and after 4 seconds I choose to cancel that request. Can that be done?

nuclearace commented 9 years ago

Not currently. Is this even possible with the js client?

luzianscherrer commented 9 years ago

You're right. That's not a functionality that is available in the js client. So I guess it's always fire and forget.