fire
Send a message to PubNub Functions Event Handlers.
These messages will go directly to any Event Handlers registered on the channel that you fire to and will trigger their execution. The content of the fired request will be available for processing within the Event Handler.
The message sent via fire() isn't replicated, and so won't be received by any subscribers to the channel. The message is also not stored in history.
Deprecated
Use fire(Object, String) instead
Replace with
fire(message, channel)Send a message to PubNub Functions Event Handlers.
These messages will go directly to any Event Handlers registered on the channel that you fire to and will trigger their execution. The content of the fired request will be available for processing within the Event Handler.
The message sent via fire() isn't replicated, and so won't be received by any subscribers to the channel. The message is also not stored in history.