ReadonlyclockThe time source of the client.
ReadonlyloggerThe logger of the client.
ReadonlysettingsThe resolved SDK settings.
ReadonlytimeoutThe bound of one attempt in milliseconds.
Runs fn with every request of this client inside it bound to runId: each carries the
run's newest invocation token in Invocation-Token (07 SR9). The binding lives in an
AsyncLocalStorage, so two concurrent runs never see each other's token.
The result of fn.
Returns the run the current context is bound to.
The run ID, or undefined outside ApiClientExtras.bindRun.
Returns the newest DPoP-Nonce the server sent (the gateway proof starts from it).
The nonce, or undefined before the first one.
Makes token the token every request bound to runId carries from now on (after a
renewal or a newer delivery); a run without an active binding is left alone.
The run.
The newer token.
The members createApiClient adds to the openapi-fetch client.