Push
class Push(val channel: Channel, val event: String, var payloadClosure: PayloadClosure, var timeout: Long = Defaults.TIMEOUT)
A Push represents an attempt to send a payload through a Channel for a specific event.
Constructors
Properties
Link copied to clipboard
Closure that allows changing parameters sent during push
Link copied to clipboard
The server's response to the Push
Link copied to clipboard
Hooks into a Push. Where .receive("ok", callback(Payload)) are stored
Link copied to clipboard
The task to be triggered if the Push times out