dispatchEvent

Callback when a new events just happened in the Batch SDK

Parameters

eventType
payload