Skip to content

putImmutable

putImmutable(file, options): Promise<ContentIdentifier>

Defined in: astrobase/src/immutable/repository.ts:56

Asynchronously pushes an immutable File to each client of the instance. This function extends putContent and handles content hash generation.

FileBuilder

The file to push.

ImmutablePutOptions

The put request options.

Promise<ContentIdentifier>

A promise that resolves with the Content Identifier after all requests have settled.