@camunda8/sdk
    Preparing search index...

    Type Alias StreamFailure

    StreamFailure:
        | { error: Error; kind: "error" }
        | { kind: "end" }
        | { error: Error; kind: "open-failed" }

    Why a stream stopped delivering.

    Type Declaration

    • { error: Error; kind: "error" }

      The stream emitted an error event.

    • { kind: "end" }

      The server ended or closed the stream without an error.

    • { error: Error; kind: "open-failed" }

      The stream could not be opened.