Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias Stream

    Stream interface for ACP connections.

    This type powers the bidirectional communication for an ACP connection, providing readable and writable streams of messages.

    The most common way to create a Stream is using ndJsonStream.

    type Stream = {
        writable: WritableStream<AnyMessage>;
        readable: ReadableStream<AnyMessage>;
    }
    Index
    writable: WritableStream<AnyMessage>

    Outgoing JSON-RPC messages written by this side of the ACP connection.

    readable: ReadableStream<AnyMessage>

    Incoming JSON-RPC messages read by this side of the ACP connection.