rimmel
Version:
A Streams-Oriented UI library for the Rx.Observable Universe
15 lines (12 loc) • 379 B
JavaScript
import { pipeIn, inputPipe } from './input-pipe.js';
import 'rxjs';
/**
* Currying "in" for input stream operators
* Create a curried observer stream from a given target
* by applying the specified input pipeline to it
**/
const curry = (op, destination) => destination
? pipeIn(destination, op)
: inputPipe(op);
export { curry };
//# sourceMappingURL=curry.js.map