Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Enumeration members

Enumeration members

async

async: = "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

next: = "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

sync: = "sync"

Data is sent to all subscribers synchronously / immediately.

This is the default schedule.

Legend

  • Property
  • Method
  • Property
  • Inherited method

Generated using TypeDoc