Interface: ProcessFunction()<TOutput>
Defined in: react/src/hooks/useBaleybot.ts:57
Process function overloads for different input types
Type Parameters
TOutput
TOutput
Call Signature
ProcessFunction(
input):Promise<TOutput>
Defined in: react/src/hooks/useBaleybot.ts:59
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:61
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:63
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:65
Process an async iterable - returns async generator yielding results as they complete
Parameters
input
AsyncIterable<string>
Returns
AsyncGenerator<TOutput, void, unknown>