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