Class RemoteRunnable<RunInput, RunOutput, CallOptions>

Type Parameters

  • RunInput

  • RunOutput

  • CallOptions extends Toolkit

Hierarchy

  • Toolkit<RunInput, RunOutput, CallOptions>
    • RemoteRunnable

Constructors

Methods

Constructors

  • Type Parameters

    • RunInput

    • RunOutput

    • CallOptions extends RunnableConfig

    Parameters

    • fields: {
          url: string;
          options?: RemoteRunnableOptions;
      }
      • url: string
      • Optional options?: RemoteRunnableOptions

    Returns RemoteRunnable<RunInput, RunOutput, CallOptions>

Methods

  • Parameters

    • inputs: RunInput[]
    • Optional options: Partial<CallOptions> | Partial<CallOptions>[]
    • Optional batchOptions: any

    Returns Promise<RunOutput[]>

  • Parameters

    • inputs: RunInput[]
    • Optional options: Partial<CallOptions> | Partial<CallOptions>[]
    • Optional batchOptions: any

    Returns Promise<(Error | RunOutput)[]>

  • Parameters

    • inputs: RunInput[]
    • Optional options: Partial<CallOptions> | Partial<CallOptions>[]
    • Optional batchOptions: any

    Returns Promise<(Error | RunOutput)[]>

  • Parameters

    • input: RunInput
    • Optional options: Partial<CallOptions>

    Returns Promise<RunOutput>

  • Parameters

    • input: RunInput
    • Optional options: Partial<CallOptions>

    Returns Promise<IterableReadableStream<RunOutput>>

  • Parameters

    • input: RunInput
    • Optional options: Partial<CallOptions>
    • Optional streamOptions: Omit<LogStreamCallbackHandlerInput, "autoClose">

    Returns AsyncGenerator<RunLogPatch, any, unknown>

Generated using TypeDoc