Skip to content

Interface: SequencerStorage

Defined in: server/src/sequencer-do.ts:27

Structural type for the DurableObject storage subset SequencerDO actually touches. Kept minimal so the class compiles against both @cloudflare/workers-types (production) and a hand-rolled test shim without pulling the whole worker-types surface into @sh1n4ps/plasma-server.

get<T>(key): Promise<T | undefined>

Defined in: server/src/sequencer-do.ts:28

T = unknown

string

Promise<T | undefined>


put<T>(key, value): Promise<void>

Defined in: server/src/sequencer-do.ts:29

T = unknown

string

T

Promise<void>


transaction<T>(closure): Promise<T>

Defined in: server/src/sequencer-do.ts:30

T

(tx) => Promise<T>

Promise<T>