timestamp.js 525B

1234567891011121314151617
  1. /** PURE_IMPORTS_START .._scheduler_async,.._operators_timestamp PURE_IMPORTS_END */
  2. import { async } from '../scheduler/async';
  3. import { timestamp as higherOrder } from '../operators/timestamp';
  4. /**
  5. * @param scheduler
  6. * @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>}
  7. * @method timestamp
  8. * @owner Observable
  9. */
  10. export function timestamp(scheduler) {
  11. if (scheduler === void 0) {
  12. scheduler = async;
  13. }
  14. return higherOrder(scheduler)(this);
  15. }
  16. //# sourceMappingURL=timestamp.js.map