Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
realar/api/signal/sync
node v14.20.1
version:
master
endpoint
share
tweet
const { signal, sync } = require('realar@0.6.0-alpha.12'); const a = signal(0); const b = signal(0); sync(a, b); a(10); console.log(b.val) // in console: 10
Loading…
no comments
sign in
to comment