UNPKG

most-proxy

Version:
12 lines 360 B
import { Stream } from 'most'; import { ProxySource } from './ProxySource'; export function proxy() { var source = new ProxySource(); var stream = new Stream(source); function attach(original) { source.attach(original.source); return original; } return { attach: attach, stream: stream }; } //# sourceMappingURL=index.js.map