Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Add scheduler as Harvester.init parameter #12

Merged
merged 1 commit into from
Oct 20, 2019
Merged

Add scheduler as Harvester.init parameter #12

merged 1 commit into from
Oct 20, 2019

Conversation

inamiy
Copy link
Owner

@inamiy inamiy commented Oct 20, 2019

This PR adds scheduler as Harvester.init parameter since "synchronous Input feedback loop" (reentrancy) will cause crash in Combine.framework.

Previously, it was user's responsibility to add receive(on:) whenever needed for synchronous side-effects and next inputs, but I decided to implement this logic inside Harvester to mitigate the verbose user-side implementation.

@inamiy inamiy merged commit ee97f03 into master Oct 20, 2019
@inamiy inamiy deleted the scheduler branch October 20, 2019 05:38
inamiy added a commit that referenced this pull request Jan 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant