Skip to content

Function: initSync()

initSync(module): InitOutput

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

Parameters

module: SyncInitInput | object

Passing SyncInitInput directly is deprecated.

Returns

InitOutput

Defined in

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