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

    Type Alias SendRequestOptions

    Options for sending a JSON-RPC request.

    type SendRequestOptions = {
        cancellationSignal?: AbortSignal;
    }
    Index

    Properties

    cancellationSignal?: AbortSignal

    Aborting this signal sends $/cancel_request for the outgoing request. Cancellation is cooperative: the returned promise is still settled by the peer's eventual response, which may be a normal result, partial result, or RequestError.requestCancelled().