Interface TransformChainFields<I, O>

Interface that extends the ChainInputs interface and defines the fields required for a transform chain. It includes the transform function, inputVariables, and outputVariables properties.

Type Parameters

  • I extends ChainValues

  • O extends ChainValues

Hierarchy

Properties

inputVariables: (keyof I extends string
    ? keyof any
    : never)[]
outputVariables: (keyof O extends string
    ? keyof any
    : never)[]
transform: ((values, callbacks?) => O | Promise<O>)

Type declaration

    • (values, callbacks?): O | Promise<O>
    • Parameters

      • values: I
      • Optional callbacks: Callbacks

      Returns O | Promise<O>

callbackManager?: CallbackManager

Deprecated

Use callbacks instead

memory?: BaseMemory

Generated using TypeDoc