Type alias RunnableFunc<RunInput, RunOutput>
RunnableFunc<RunInput, RunOutput>: ((input, options?) => RunOutput | Promise<RunOutput>)
Type declaration
-
- (input, options?): RunOutput | Promise<RunOutput>
-
Parameters
-
input: RunInput
-
Optional
options: Record<string, any> & {
config?: RunnableConfig;
}
Returns RunOutput | Promise<RunOutput>