Interface: ProcessFunction()<TOutput>
Defined in: react/src/hooks/useBaleybot.ts:46
Type Parameters
TOutput
TOutput
Call Signature
ProcessFunction(
input):Promise<TOutput>
Defined in: react/src/hooks/useBaleybot.ts:48
Process a single item - returns Promise
Parameters
input
string
Returns
Promise<TOutput>
Call Signature
ProcessFunction(
input):AsyncGenerator<TOutput,void,unknown>
Defined in: react/src/hooks/useBaleybot.ts:50
Process an array - returns async generator yielding results as they complete
Parameters
input
string[]
Returns
AsyncGenerator<TOutput, void, unknown>
Call Signature
ProcessFunction(
input):AsyncGenerator<TOutput,void,unknown>
Defined in: react/src/hooks/useBaleybot.ts:52
Process an iterable - returns async generator yielding results as they complete
Parameters
input
Iterable<string>
Returns
AsyncGenerator<TOutput, void, unknown>
Call Signature
ProcessFunction(
input):AsyncGenerator<TOutput,void,unknown>
Defined in: react/src/hooks/useBaleybot.ts:54
Process an async iterable - returns async generator yielding results as they complete
Parameters
input
AsyncIterable<string>
Returns
AsyncGenerator<TOutput, void, unknown>