Prelude API
    Preparing search index...

    Function of

    • Creates a channel from a value.

      Type Parameters

      • T

      Parameters

      • cap: number = 0

        Maximum number of pending writes. Defaults to 0.

      Returns Channel<T>

      A new channel.

      T - The type of values in the channel.