UNPKG

299 BJavaScriptView Raw
1/** @license MIT License (c) copyright 2010-2016 original author or authors */
2/** @author Brian Cavalier */
3/** @author John Hann */
4
5export default function Stream (source) {
6 this.source = source
7}
8
9Stream.prototype.run = function (sink, scheduler) {
10 return this.source.run(sink, scheduler)
11}