Agent Client Protocol - v0.5.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

    Properties

    Properties

    writable: WritableStream<AnyMessage>
    readable: ReadableStream<AnyMessage>