UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

15 lines 460 B
"use strict"; var async_1 = require('../scheduler/async'); var operators_1 = require('../operators'); /** * @param scheduler * @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>} * @method timestamp * @owner Observable */ function timestamp(scheduler) { if (scheduler === void 0) { scheduler = async_1.async; } return operators_1.timestamp(scheduler)(this); } exports.timestamp = timestamp; //# sourceMappingURL=timestamp.js.map