on()
on(event: string, callback: function)
Subscribes to an event using a callback function.
Event payload signature
Sample subscription code
It is possible to subscribe multiple times to the same event with different callbacks.
Sample subscription code with multiple callbacks
Last updated