Buckets:
| import { Subject } from '../Subject'; | |
| import { innerFrom } from '../observable/innerFrom'; | |
| import { operate } from '../util/lift'; | |
| import { fromSubscribable } from '../observable/fromSubscribable'; | |
| var DEFAULT_CONFIG = { | |
| connector: function () { return new Subject(); }, | |
| }; | |
| export function connect(selector, config) { | |
| if (config === void 0) { config = DEFAULT_CONFIG; } | |
| var connector = config.connector; | |
| return operate(function (source, subscriber) { | |
| var subject = connector(); | |
| innerFrom(selector(fromSubscribable(subject))).subscribe(subscriber); | |
| subscriber.add(source.subscribe(subject)); | |
| }); | |
| } | |
| //# sourceMappingURL=connect.js.map |
Xet Storage Details
- Size:
- 676 Bytes
- Xet hash:
- e57bcb1f9e3372d1b10435c16681f2aff396dc4d461804565ede8ae5708ef1b7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.