Type alias RunnableFunc<RunInput, RunOutput>

RunnableFunc<RunInput, RunOutput>: ((input, options?) => RunOutput | Promise<RunOutput>)

Type Parameters

  • RunInput

  • RunOutput

Type declaration

    • (input, options?): RunOutput | Promise<RunOutput>
    • Parameters

      • input: RunInput
      • Optional options: Record<string, any> & {
            config?: RunnableConfig;
        }

      Returns RunOutput | Promise<RunOutput>

Generated using TypeDoc