You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
420 B
11 lines
420 B
4 years ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var Subject_1 = require("../Subject");
|
||
|
var multicast_1 = require("./multicast");
|
||
|
function publish(selector) {
|
||
|
return selector ?
|
||
|
multicast_1.multicast(function () { return new Subject_1.Subject(); }, selector) :
|
||
|
multicast_1.multicast(new Subject_1.Subject());
|
||
|
}
|
||
|
exports.publish = publish;
|
||
|
//# sourceMappingURL=publish.js.map
|