Interface Interrupt<TValue>

An interrupt thrown inside a thread.

interface Interrupt<TValue> {
    ns?: string[];
    resumable?: boolean;
    value?: TValue;
    when: string & {} | "during";
}

Type Parameters

  • TValue = unknown

Properties

ns?: string[]
resumable?: boolean
value?: TValue
when: string & {} | "during"