UNPKG

@ngrx/core

Version:

Core operators and utiliies for the ngrx platform

17 lines (16 loc) 590 B
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var ReplaySubject_1 = require('rxjs/ReplaySubject'); var SyncSubject = (function (_super) { __extends(SyncSubject, _super); function SyncSubject(value) { _super.call(this, 1); this.next(value); } return SyncSubject; }(ReplaySubject_1.ReplaySubject)); exports.SyncSubject = SyncSubject;