StreamCoordinator.await

Block the current task until the client responds to (sessionToken, id) (or timeout elapses). Returns the result, or throws McpException on error/timeout.

class StreamCoordinator
@safe
Json
await
(
long id
,
Duration timeout = 60.seconds
,
string sessionToken = ""
)