Optionaloptions: AzureBlobProviderOptions
Azure connection/injection options
Wall-clock source (epoch ms) for SAS expiry. Injected by
createProvider as runtime.now() (the only sanctioned clock outside
packages/runtime). Defaults to () => 0 for direct construction.
OptionalisM70c: delegates to the injected client's optional isHealthy?() (the real
adapter calls the container client's exists()). Assigned in connect()
only when the client provides the member; a client that omits it is
unknown, and the indicator reads absence (not false) as that.
Establishes the Azure client — injects the SDK lazily or uses injected client.
Deletes an object from Azure Blob Storage.
Object key
true if deleted
Disconnect is a no-op for Azure (connectionless HTTP client).
Reports whether an object exists in Azure Blob Storage.
Object key
true if present
Retrieves an object from Azure Blob Storage; null when absent.
Object key
The object bytes, or null
Creates a SAS URL for an Azure Blob.
Object key
Expiry in seconds
The SAS URL
Native stream download — adapts Azure readableStreamBody (Node Readable)
into a web ReadableStream via async iteration.
Cancellation-safe: the stream's cancel hook releases the iterator and
destroys the underlying request, so a consumer cancelling mid-download
neither leaks the connection nor crashes the process (previously the
eager drain kept flowing after a cancel and the next chunk enqueued into
the closed controller as an uncaught TypeError). Still an EAGER drain by
documented contract — see provider-stream.ts and the README's
per-provider table.
Object key
A ReadableStream, or null if absent
Reports readiness.
Stores an object in Azure Blob Storage, recording any content type and user metadata on the blob so a SAS URL serves it under the right type.
Azure carries the content type inside blobHTTPHeaders rather than beside
the metadata, so the two land in different places on the same call.
Object key
Object bytes
Optionaloptions: PutObjectOptions
Object attributes to record with the bytes
Azure Blob storage provider.
Supports native streaming via
download().readableStreamBodyasync-iterated into a webReadableStream.Since
0.1.0