UNPKG
@anonklub/halo2-eth-membership
Version:
latest (0.2.0)
0.2.0
0.1.2
0.1.1
0.1.0
Wasm Rust crate for verifying Secp256k1 signatures
github.com/anonklub/anonklub
anonklub/anonklub
@anonklub/halo2-eth-membership
/
dist
/
snippets
/
wasm-bindgen-futures-a509390b5b548b61
/
src
/
task
/
worker.js
7 lines
(6 loc)
•
179 B
JavaScript
View Raw
1
2
3
4
5
6
7
onmessage =
function
(
ev
) {
let
[ia, index, value] = ev.
data
; ia =
new
Int32Array
(ia.
buffer
);
let
result =
Atomics
.
wait
(ia, index, value);
postMessage
(result); };