Create a Transport: the wire-level primitive that owns the request and
surfaces structured response metadata.
Queries / mutations: send() returns Promise<TransportResponse> when
incremental delivery is off, or an AsyncIterable<TransportResponse>
(one chunk per payload) when it is on.
Subscriptions: send() returns an AsyncIterable<TransportResponse>,
one event at a time. A subscriptionClient must be configured; the
toolkit does not construct one for you.
Create a
Transport: the wire-level primitive that owns the request and surfaces structured response metadata.send()returnsPromise<TransportResponse>when incremental delivery is off, or anAsyncIterable<TransportResponse>(one chunk per payload) when it is on.send()returns anAsyncIterable<TransportResponse>, one event at a time. AsubscriptionClientmust be configured; the toolkit does not construct one for you.