returns the number of subscribers using the WatchDog object.
Returns number
Methods
addSubscriber
addSubscriber(subscriber: ISubscriber, timeout: number): number
add a subscriber to the WatchDog.
method
addSubscriber
add a subscriber to the WatchDog.
This method modifies the subscriber be adding a
new method to it called 'keepAlive'
The subscriber must also provide a "watchdogReset". watchdogReset will be called
if the subscriber failed to call keepAlive withing the timeout period.
returns the number of subscribers using the WatchDog object.