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
[effector] hello world
node v8.17.0
version:
17.7.0
endpoint
share
tweet
const {createEvent} = require('effector') const messageEvent = createEvent('message event (optional description)') messageEvent.watch(text => console.log(`new message: ${text}`)) messageEvent('hello world') console.log('finish')
Loading…
no comments
sign in
to comment