Prelude API
    Preparing search index...

    Function after

    • Creates a channel that closes after a specified time in milliseconds. Delays above the setTimeout maximum (2^31-1 ms) are honoured by chaining timers; a non-finite delay never closes.

      Type Parameters

      • T = unknown

      Parameters

      • milliseconds: number

        The time in milliseconds after which to close the channel.

      • __namedParameters: { signal?: AbortSignal } = {}

      Returns Channel<T>

      A channel that closes automatically after the specified time.

      T - The type of values in the channel. Defaults to unknown.