store.mx raw
1 //go:build !wasm
2 //:build !wasm
3
4 package store
5
6 // Worker-internal bridge for store.wasm.
7 // Provides postMessage send/receive and timer primitives for the store Worker.
8
9 func WorkerOnMessage(fn func(msg string)) { panic("jsbridge") }
10 func WorkerPost(msg string) { panic("jsbridge") }
11 func WorkerSetTimeout(ms int32, fn func()) (n int32) { panic("jsbridge") }
12 func WorkerClearTimeout(handle int32) { panic("jsbridge") }
13 func WorkerNowSeconds() (n int64) { panic("jsbridge") }
14