PendingSendStorage
Defined in: react/src/drafts.ts:135
Where the client keeps that message. Store it only under this exact scope. The host owns
encryption, access control and deletion after expiresAt.
Methods
Section titled “Methods”load()
Section titled “load()”load(scope): Promise<unknown>;Defined in: react/src/drafts.ts:136
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
scope |
DraftScope |
Returns
Section titled “Returns”Promise<unknown>
save()
Section titled “save()”save(scope, value): Promise<void>;Defined in: react/src/drafts.ts:138
null removes it. The client waits for each write to finish before it starts the next.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
scope |
DraftScope |
value |
StoredSend | null |
Returns
Section titled “Returns”Promise<void>