System generated emit event api
- Emit any event
Request Method: POST
URL
Request payload
- Emit single event multiple listeners.
- Emit multiple events in single API call.
[
{
"name": "Event_name",
"eventData": {
"some": "data"
},
"executeListeners": ["listener"]
},
{
"name": "Event_name",
"executeListeners": ["listener1","listener2"]
}
]
Emit event System API
Emit event using global object 'g'.