getMutable
getMutable<
T
>(key
,instance
):Promise
<undefined
|FileBuilder
<T
>>
Defined in: astrobase/src/mutable/mutable.ts:42
Queries clients to retrieve an item of mutable content. If all clients are queried with no
successful result, returns void
.
Type Parameters
Section titled “Type Parameters”T
The type of the content after successful decoding.
Parameters
Section titled “Parameters”string
The key string.
instance
Section titled “instance”The Instance config.
Returns
Section titled “Returns”Promise
<undefined
| FileBuilder
<T
>>
A promise that resolves with the decoded content, or void
if nothing valid was
retrieved.