CLEAR_PREVIOUS

If the stream is not connected at the time we want to send a message, clear any previously enqueued messages and only send this one when the stream connects.

This can be useful if you want to send a message that is only relevant to the most recent state of your site.

Properties

Link copied to clipboard
Link copied to clipboard