MCPcopy
hub / github.com/open-cli-tools/concurrently / pipeTo

Function pipeTo

lib/command.ts:343–345  ·  view source on GitHub ↗

* Pipes all events emitted by `stream` into `subject`.

(stream: Rx.Observable<T>, subject: Rx.Subject<T>)

Source from the content-addressed store, hash-verified

341 * Pipes all events emitted by `stream` into `subject`.
342 */
343function pipeTo<T>(stream: Rx.Observable<T>, subject: Rx.Subject<T>) {
344 return stream.subscribe((event) => subject.next(event));
345}

Callers 2

startMethod · 0.85
maybeSetupIPCMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…