wit_world library

Functions

createYCrdt({required WasiConfig wasiConfig, required YCrdtWorldImports imports, Future<WasmModule> loadModule()?, WorkersConfig? workersConfig}) Future<YCrdtWorld>
Creates a YCrdtWorld with the given wasiConfig. It setsUp the dynamic library for wasm_run in native platforms and loads the y_crdt WASM module from the file system or from the url pointing to 'lib/y_crdt_wasm.wasm'.