@sodazone/ocelloids-client - v3.0.0
    Preparing search index...

    Interface StreamableApi<S, L>

    Streamable Agent API.

    interface StreamableApi<
        S extends
            SseOptions = { args: Record<string, any>; streamName: "default" },
        L extends SseListener = SseListener,
    > {
        stream(
            opts: S,
            handler: SseHandler<L>,
        ): Promise<{ close: () => void; readyState: number }>;
    }

    Type Parameters

    Implemented by

    Index

    Methods

    Methods