Type alias TNextFnResult<TOut, TState>

TNextFnResult<TOut, TState>: {
    done: true;
} | {
    done: false;
    state?: TState;
} | {
    done: false;
    isLast?: boolean;
    state?: TState;
} & ({
    value: TOut;
} | {
    iterable: Iterable<TOut> | AsyncIterable<TOut>;
})

The type that the the nextFn of the powerMap operator should output

Type Parameters

  • TOut

  • TState

Generated using TypeDoc