@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias StreamResubscribeResult

    StreamResubscribeResult:
        | { reason: "stopped" }
        | { error: Error; reason: "terminal" }

    How the loop finished:

    • "stopped" — the consumer stopped it (abort/close) or an attempt finalized the connection itself.
    • "terminal" — an unretryable error; surface it to the consumer.