Class RemoteRunnable<RunInput, RunOutput, CallOptions>

Type Parameters

  • RunInput

  • RunOutput

  • CallOptions extends RunnableConfig

Hierarchy

  • Runnable<RunInput, RunOutput, CallOptions>
    • RemoteRunnable

Constructors

Methods

Constructors

  • Type Parameters

    • RunInput

    • RunOutput

    • CallOptions extends BaseCallbackConfig

    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: RunnableBatchOptions & {
          returnExceptions?: false;
      }

    Returns Promise<RunOutput[]>

  • Parameters

    • inputs: RunInput[]
    • Optional options: Partial<CallOptions> | Partial<CallOptions>[]
    • Optional batchOptions: RunnableBatchOptions & {
          returnExceptions: true;
      }

    Returns Promise<(Error | RunOutput)[]>

  • Parameters

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

    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>>

Generated using TypeDoc