UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

12 lines (11 loc) 251 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mapObserver = void 0; function mapObserver(emit, mapFunction) { return function (value) { emit(mapFunction(value)); }; } exports.mapObserver = mapObserver;