@pulumi/cloud-sdk - v2026.10.9
    Preparing search index...

    Interface ServerSentEventsStream<T>

    Handle returned by streaming (SSE) operations.

    interface ServerSentEventsStream<T> {
        abort: AbortController;
        events: AsyncIterable<T>;
    }

    Type Parameters

    • T
    Index
    abort: AbortController

    Abort the SSE connection and end iteration.

    events: AsyncIterable<T>

    Async iterable that yields each event as it arrives. Iteration ends on a fatal error (throws) or when abort is triggered (returns).