Function: loadKernel()
loadKernel():
Promise<Kernel>
Defined in: sdk/ts/sdk/src/kernel/load.ts:43
Loads the wasm kernel once per process and returns the same instance afterwards. Looks for vlo_kernel_bg.wasm in the package's wasm/ directory, or at VLO_KERNEL_WASM. Rejects when the bytes are missing or the kernel speaks a different protocol version.
Returns
Promise<Kernel>