TinyTick logoTinyTick

StatusListener

The StatusListener type describes a function that is used to listen to the fact that the Manager changed status from stopped to started, or vice-versa.

(
  manager: Manager,
  status: ManagerStatus,
): void
TypeDescription
managerManager

A reference to the Manager that changed status.

statusManagerStatus

The new status of the Manager.

returnsvoid

This has no return value.

A StatusListener is provided when using the addStatusListener method. See that method for specific examples.

Since

v1.2.0