//go:build !wasm //:build !wasm package profile // Consumer side (app.wasm): send messages to this worker via supervisor. func Send(msg string) { panic("jsbridge") } // OnMessage registers a handler for messages from this worker. func OnMessage(fn func(msg string)) { panic("jsbridge") } // Worker-internal side (profile.wasm): postMessage bridge. func WorkerOnMessage(fn func(msg string)) { panic("jsbridge") } func WorkerPost(msg string) { panic("jsbridge") } func WorkerSetTimeout(ms int32, fn func()) (n int32) { panic("jsbridge") } func WorkerClearTimeout(handle int32) { panic("jsbridge") } func WorkerNowSeconds() (n int64) { panic("jsbridge") }