@comfit/wasm / initialize
Function: initialize()
initialize(
options):Promise<void>
Defined in: index.ts:68
Initialize Comfit and web-tree-sitter from WASM URLs or bytes.
Concurrent calls share the first attempt. Successful initialization is reused. A failed attempt can be retried with new sources.
Parameters
options
Returns
Promise<void>
Throws
Rejects if a source cannot be fetched or either runtime fails to initialize.