UNPKG

@fine-js/channels

Version:

Bits of Clojure's `core.async` ported to JS

19 lines (15 loc) 339 B
'use strict' const chan = require('./chan') const funcs = require('./funcs') const buffers = require('./buffers') module.exports = { chan, ...funcs, ...buffers, } if (typeof window === 'object') { /* eslint-env browser */ window.finejs = window.finejs || {} window.finejs.channels = module.exports /* eslint-env node */ }