toolish - v0.2.5
    Preparing search index...

    Class Delay

    Wraps a promise that resolves after the given milliseconds. Uses setTimeout, so the same delay inaccuracies apply.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Aborts the timeout by resolving the promise.

      Returns void

    • Aborts the timeout by rejecting the promise.

      Parameters

      • reason: any = ...

      Returns void