bothy-sdk
    Preparing search index...

    Interface RunUpdateGateway

    The gateway side of RunPatcher.useGateway: sends the op run.update (docs/spec/04-sync-protocol.md 6.2). The gateway consumer of gateway fits.

    interface RunUpdateGateway {
        sendRunUpdate(
            runId: string,
            baseVersion: number,
            ops: readonly {}[],
            ref?: string,
        ): Promise<void>;
    }
    Index

    Methods

    • Sends one run.update.

      Parameters

      • runId: string

        The run.

      • baseVersion: number

        The version the ops build on.

      • ops: readonly {}[]

        The operations.

      • Optionalref: string

        The ref an error frame names.

      Returns Promise<void>