Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Initialize the Briefcase AI WASM module

This function sets up panic hooks for better error reporting in WebAssembly environments. Call this function once at the start of your application.

ยงExamples

import { init } from 'briefcase-wasm';

await init();
console.log('Briefcase AI ready!');