UNPKG

react-kiwi-dropdown

Version:

| Name | Type | Description | | --------------------------- | -------------------- | ----------- | | options | array | | selectedOption | string | | onCha

18 lines (17 loc) 697 B
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */ import { InnerSubscriber } from '../InnerSubscriber'; import { subscribeTo } from './subscribeTo'; import { Observable } from '../Observable'; export function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, destination) { if (destination === void 0) { destination = new InnerSubscriber(outerSubscriber, outerValue, outerIndex); } if (destination.closed) { return undefined; } if (result instanceof Observable) { return result.subscribe(destination); } return subscribeTo(result)(destination); } //# sourceMappingURL=subscribeToResult.js.map