Function default
- default(
__namedParameters: {
args: string[];
kernel: Kernel;
shell: Shell;
streams: WasiStreamOptions;
wasmBytes: Uint8Array;
},
): Promise<WasiComponentResult> Parameters
- __namedParameters: {
args: string[];
kernel: Kernel;
shell: Shell;
streams: WasiStreamOptions;
wasmBytes: Uint8Array;
}
Returns Promise<WasiComponentResult>
- __namedParameters: {
Load a WASI Preview 2 component Uses jco to transpile component model to core wasm + JS, then uses preview2-shim