Skip to content

@grabm/abm / Interface: RunStore ​

Host-provided persistence. Save the encoded bundle or its JSON envelope; load must return a value accepted by decodeRun. Storage errors propagate.

Methods ​

load() ​

ts
load(id): Promise<unknown>;

Parameters ​

id ​

string

Returns ​

Promise<unknown>


save() ​

ts
save(bundle): Promise<StoredRunReference>;

Parameters ​

bundle ​

EncodedRunBundle

Returns ​

Promise<StoredRunReference>

Documentation for the grABM library.