import { onionify } from './onionify'; export { StateSource, isolateSource, isolateSink } from './StateSource'; export { Instances, CollectionOptions, makeCollection } from './Collection'; export { Getter, Setter, Lens, Scope, Reducer, MainFn } from './types'; /** * Like `merge` in xstream, this operator blends multiple streams together, but * picks those streams from a stream of instances. * * The instances data structure has a sinks object for each instance. Use the * `selector` string to pick a stream from the sinks object of each instance, * then pickMerge will merge all those picked streams. * * @param {String} selector a name of a channel in a sinks object belonging to * each component in the collection of instances. * @return {Function} an operator to be used with xstream's `compose` method. */ export { pickMerge } from './pickMerge'; /** * Like `combine` in xstream, this operator combines multiple streams together, * but picks those streams from a stream of instances. * * The instances data structure has a sinks object for each instance. Use the * `selector` string to pick a stream from the sinks object of each instance, * then pickCombine will combine all those picked streams. * * @param {String} selector a name of a channel in a sinks object belonging to * each component in the collection of instances. * @return {Function} an operator to be used with xstream's `compose` method. */ export { pickCombine } from './pickCombine'; export default onionify;