Skip to content

Notification Callbacks

chernser edited this page Sep 22, 2012 · 2 revisions

Notification callbacks are functions triggered by events from client and used to mock event flow. Switch to "Callbacks" tab of notifications panel to manage them.

TIP: You can enable or disable callbacks. This operation is applied in real-time

Notification Callback Function - is triggered by event from client, which (event) is passed as first argument. Result of function should be event object:

  { 
     event_name: String, // name of response event
     event_data: Any, // body of response event
  }

NOTE: Function name MUST be 'event_callback'

Clone this wiki locally