UNPKG

kefir

Version:

Reactive Programming library for JavaScript inspired by Bacon.js and RxJS with focus on high performance and low memory usage

13 lines (9 loc) 275 B
import {createStream, createProperty} from '../patterns/one-source' const mixin = { _handleEnd() {}, } const S = createStream('skipEnd', mixin) const P = createProperty('skipEnd', mixin) export default function skipEnd(obs) { return new (obs._ofSameType(S, P))(obs) }