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