EnumerationEmitSchedule

Schedule for emitting / broadcasting data to subscribers, to be used by method SubEvent.emit. It represents a concurrency strategy for delivering event to subscribers.

Enumeration Members

Enumeration Members

async

Data broadcast is fully asynchronous: each subscriber will be receiving the event within its own processor tick (under Node.js), or timer tick (in browsers).

Subscribers are enumerated after the initial delay.

next

Wait for the next processor tick (under Node.js), or timer tick (in browsers), and then broadcast data to all subscribers synchronously.

Subscribers are enumerated after the delay.

sync

Data is sent to all subscribers synchronously / immediately.

This is the default schedule.