Skip to content

@grabm/abm/datasets / Interface: ByteWriter ​

A writer owns a fresh dataset namespace. cleanup removes only that namespace.

Methods ​

cleanup() ​

ts
cleanup(): Promise<void>;

Returns ​

Promise<void>


write() ​

ts
write(
   key, 
   bytes, 
   signal?
): Promise<void>;

Parameters ​

key ​

string

bytes ​

Uint8Array

signal? ​

AbortSignal

Returns ​

Promise<void>

Documentation for the grABM library.