[effector] hello world

node v8.16.0
version: 17.7.0
endpointsharetweet
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