Context
Class in @sascom/commonjs.
API catalogue · @sascom/commonjs · Class
The shared runtime context of the common library: its worker pool and WebAssembly modules
Members#
| Member | Kind | Description |
|---|---|---|
| constructor | Method | |
| setupModules | Method | Starts the workers and loads the WebAssembly modules (zstd, xxh64, roaring, ...); idempotent |
| get | Method | The shared context, created on first use |
constructor#
TypeScript#
constructor()setupModules#
TypeScript#
setupModules(): Promise<void>Starts the workers and loads the WebAssembly modules (zstd, xxh64, roaring, ...); idempotent
get#
The shared context, created on first use