shajara API
    Preparing search index...

    Interface TryReceiveSigil<Value, Outcome>

    Sigil that attempts one channel receive without blocking.

    interface TryReceiveSigil<Value, Outcome> {
        "[ECHO_TOKEN]"?: readonly [Option<ReceiveResult<Value, Outcome>>];
        kind: "tryReceive";
        receiver: ChannelReceiver<Value, Outcome>;
    }

    Type Parameters

    • Value
    • Outcome

    Hierarchy (View Summary)

    Index

    Properties

    "[ECHO_TOKEN]"?: readonly [Option<ReceiveResult<Value, Outcome>>]
    kind: "tryReceive"