Internal
Initializes the Push.
The Channel
The event, for example "phx_join"
"phx_join"
The payload, for example {user_id: 123}
{user_id: 123}
The push timeout in milliseconds
Register a callback for a specific response status
Resend the push with a new timeout
Send the push
Initializes the Push.
Param: channel
The Channel
Param: event
The event, for example
"phx_join"Param: payload
The payload, for example
{user_id: 123}Param: timeout
The push timeout in milliseconds