Skip to content

putContent

putContent(cid, content, options): Promise<void>

Defined in: astrobase/src/content/api.ts:100

Saves an item of content. Invokes the content:put procedure via all clients that support it.

ContentIdentifierLike

A valid ContentIdentifierLike value for the content.

The content to save in binary form.

string | ArrayBufferLike | ArrayLike<number>

PutOptions

Additional PutOptions.

Promise<void>

A promise that resolves once all requests are completed.