UNPKG

515 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const rxjs_1 = require("rxjs");
4/**
5 * Actions basically just extend Subject that emit a Payload P and can have a string name to identify
6 * the action. This can be used in future versions to produce action logs, replay them from a log/storage, etc.
7 */
8class Action extends rxjs_1.Subject {
9 constructor(name = undefined) {
10 super();
11 this.name = name;
12 }
13}
14exports.Action = Action;
15//# sourceMappingURL=action.js.map
\No newline at end of file