Skip to main content
Module

x/polkadot/wasm-bridge/init.ts>createWasmFn

Package publishing for deno.land/x/polkadot
Go to Latest
function createWasmFn
import { createWasmFn } from "https://deno.land/x/polkadot@0.2.17/wasm-bridge/init.ts";

Type Parameters

C extends WasmBaseInstance

Parameters

root: string
wasmBytes: null | Uint8Array
asmFn: null | ((wbg: WasmImports) => C)

Returns

InitFn<C>