pnpm
Version:
Fast, disk space efficient package manager
12 lines (9 loc) • 299 B
JavaScript
/** @license MIT License (c) copyright 2010-2016 original author or authors */
/** @author Brian Cavalier */
/** @author John Hann */
export default function Stream (source) {
this.source = source
}
Stream.prototype.run = function (sink, scheduler) {
return this.source.run(sink, scheduler)
}