Client-side connection returned by ClientApp.connect(...).
ClientApp.connect(...)
Use agent to call agent-side ACP methods and session helpers for the lifetime of the connection.
agent
Readonly
AbortSignal that aborts when the connection closes.
Promise that resolves when the connection closes.
Context for calling agent-side ACP methods.
Closes the connection and rejects pending requests.
Optional
Client-side connection returned by
ClientApp.connect(...).Use
agentto call agent-side ACP methods and session helpers for the lifetime of the connection.