Caplin Trader 5.1.0

Interface: module:ct-core/scheduler/ThreadQueueListener


Interface implemented by classes wishing to know the current number of pending and due threads awaiting processing.


onThreadQueueUpdate(nDueTimers, nTotalTimers)

Call-back that fires each time a thread timer is processed, and the thread queue information changes.

Name Type Description
nDueTimers int

The number of registered timers (including intervals) that are now ready to be processed.

nTotalTimers int

The total number of registered timers and intervals — both overdue, and not yet requiring processing.