Skip to content

SuccessData

type SuccessData<TYield, TReturn> = object;

Defined in: toast-stream.ts:62

Success data passed to callbacks - includes return value if generator has one

Type Parameter Default type
TYield -
TReturn void
count: number;

Defined in: toast-stream.ts:63


items: TYield[];

Defined in: toast-stream.ts:64


returnValue: TReturn;

Defined in: toast-stream.ts:66

The return value from the generator (if any)