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.
Parameters
Section titled “Parameters”A valid ContentIdentifierLike value for the content.
content
Section titled “content”The content to save in binary form.
string
| ArrayBufferLike
| ArrayLike
<number
>
options
Section titled “options”Additional PutOptions.
Returns
Section titled “Returns”Promise
<void
>
A promise that resolves once all requests are completed.