Type Alias RunnableFunc<RunInput, RunOutput>

RunnableFunc<RunInput, RunOutput>: ((input: RunInput, options?: {
    config?: RunnableConfig;
} & RunnableConfig | Record<string, any> | Record<string, any> & {
    config: RunnableConfig;
} & RunnableConfig) => RunOutput | Promise<RunOutput>)

Type Parameters

  • RunInput
  • RunOutput