TinyTick logoTinyTick

TaskRunIdsListener

The TaskRunIdsListener type describes a function that is used to listen to changes to task run Ids in the Manager.

(
  manager: Manager,
  changedIds: ChangedIds,
): void
TypeDescription
managerManager

A reference to the Manager that changed.

changedIdsChangedIds

An object listing all the Ids that have been added or removed from the list.

returnsvoid

This has no return value.

A TaskRunIdsListener is provided when using the addScheduledTaskRunIdsListener method or the addRunningTaskRunIdsListener. See those methods for specific examples.

When called, a TaskRunIdsListener is given a reference to the Manager and an object listing all the Ids that have been added or removed from the list.

Since

v1.2.0