pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Watchdog

    A deadman timer that expires unless fed often enough.

    Index
    • Creates a watchdog that expires after timeout without being fed; a timeout that is not a number is taken as 0.

      Parameters

      • timeout: number

      Returns Watchdog

    • Feeds the watchdog, restarting its silence timer.

      Returns void

    • Advances the timer by dt and returns whether it has expired; a dt that is not a finite number expires it until it is fed.

      Parameters

      • dt: number

      Returns boolean