A2aEventParser

Converts server stream envelopes into A2aEvents. Never throws: anything it cannot understand becomes A2aEvent.Unknown. Artifacts are routed by Artifact.metadata["action"]; an action name this SDK does not know is ignored.

Functions

Link copied to clipboard
fun parse(response: <Error class: unknown class>): List<A2aEvent>