Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
import { ConnectableObservable } from '../observable/ConnectableObservable';
|
||||
import { isFunction } from '../util/isFunction';
|
||||
import { connect } from './connect';
|
||||
export function multicast(subjectOrSubjectFactory, selector) {
|
||||
var subjectFactory = isFunction(subjectOrSubjectFactory) ? subjectOrSubjectFactory : function () { return subjectOrSubjectFactory; };
|
||||
if (isFunction(selector)) {
|
||||
return connect(selector, {
|
||||
connector: subjectFactory,
|
||||
});
|
||||
}
|
||||
return function (source) { return new ConnectableObservable(source, subjectFactory); };
|
||||
}
|
||||
//# sourceMappingURL=multicast.js.map
|
||||
Reference in new issue
Block a user