Skip to content

Function: initSync()

initSync(module): InitOutput

Instantiates the given module, which can either be bytes or a precompiled WebAssembly.Module.

Parameters

module

Passing SyncInitInput directly is deprecated.

SyncInitInput | { module: SyncInitInput; }

Returns

InitOutput

Defined in

@nimiq/core/types/wasm/web.d.ts:2775