Optional Readonlymaxthe most requests one sendMany call carries, and the most blobs one
has or put of the store: 1024 if absent
Read once, when a client is made from the platform.
Readonlystatewhere a library keeps its saved state
Readonlystorewhere blobs are kept
opens a websocket with request, a GET to a ws: or wss: url with no
body, or answers with the response that refused it
makes the GET and stores what it reads under its own sha-256, calling
received with the bytes that have arrived so far as they do, from 0 again
if it starts over, and stopping, storing nothing, when signal aborts
the hashes of source, reading the whole of it unless they came with it,
rejecting with an UnavailableError whose hash names a stored source the
store lacks
stores body under its own sha-256, whole or not at all, and resolves to
its hashes
makes every request and settles each, in order, as Promise.allSettled
does: a request that produced no answer is rejected in its own place
and fails none of the others
Each answer carries the sha-256 of its body, which the core checks a blob
it reads against; a statusOnly answer carries that of its empty body.
Never more than maxBatch requests: more than that asked in the same
moment come as several calls, out at once. A request that is not
retryable always comes alone.
sends source as the body of request, rejecting with an
UnavailableError whose hash names a stored source the store lacks
everything the core needs from where it runs
A promise rejects only when there was no answer at all: a status outside 2xx is an answer. Only a request with
retryableset may be sent again after a failure.