@jiminp/tooltool
    Preparing search index...

    Type Alias AsyncThrowEvent<T>

    Represents a throw (error) event in an async generator execution.

    type AsyncThrowEvent<T = unknown> = {
        type: "throw";
        value: T;
    }

    Type Parameters

    • T = unknown

      The type of the thrown value/error (default: unknown)

    Index

    Properties

    Properties

    type: "throw"
    value: T