package a2a-client

  1. Overview
  2. Docs

Module A2a_client_testing.StepSource

One step of a streamed response.

Sourcetype t

One SSE event carrying the response.

Sourceval error : A2a_client.Error.Code.t -> string -> t

One SSE event carrying an agent error.

Sourceval raw : string -> t

Bytes as they are, e.g. a comment line or a malformed event.

Sourceval sleep : float -> t

Pause for that many seconds of the clock given to agent.

Sourceval drop : t

The connection breaks: reading fails with an exception.

Sourceval hang : t

Nothing more arrives, until the reader is cancelled.