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: any
Returns RunOutput | Promise<RunOutput>