mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
8 lines
259 B
JavaScript
8 lines
259 B
JavaScript
|
import { Subject } from '../Subject';
|
||
|
import { multicast } from './multicast';
|
||
|
export function publish(selector) {
|
||
|
return selector ?
|
||
|
multicast(() => new Subject(), selector) :
|
||
|
multicast(new Subject());
|
||
|
}
|
||
|
//# sourceMappingURL=publish.js.map
|