(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
const { EventEmitter } = require('events'); | |
let value = 0; | |
let emitter = new EventEmitter(); | |
function increase() { | |
value += 1; | |
emitter.emit('valueChanges', getValue()); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.