News for hackers. Stuff that matters.
Re:Show HN: Callbaxx.js – A utility library to bring callbac... by leetbulb on Friday October 12, 2018 @06:39PM (#18205225)
We must go deeper!

  const promisify = require('bluebird').promisify
  const from = require('rxjs').from
  const isTrue = require('callbaxx').isTrue

  const isTrueAsync = promisify(isTrue)
  const makeIsTrueSource = val => from(isTrueAsync(val))

  const source = makeIsTrueSource(true)

  source.subscribe(console.log, console.error)
Re:Show HN: Callbaxx.js – A utility library to bring callbac... by z3t4 on Saturday October 13, 2018 @03:58PM (#18209701)
A few more abstractions and it will meet enterprise compliance. Probably need to write it as a Class ...