cytoplasmic
    Preparing search index...

    Function createTimeout

    • Create an emitter that fires a single event after a fixed time delay. The timer doesn't start until the emitter is observed, and resets when there are no more observers.

      Parameters

      • ms: number

        Delay in milliseconds before the event is fired.

      Returns TimeoutEmitter

      An Emitter