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

Refactor task middleware with redux-saga #111

Closed

Conversation

superhawk610
Copy link
Collaborator

Thanks for your contribution!

Please fill out the following template with details about your pull request:

Related Issue #97

Summary
With @mik639's permission, I've refactored the task middleware to use redux-saga. I'm developing from a Windows machine, so I had to use @bennygenel's windows-support fork, and there are a few artifacts of that remaining in this code, but I figure the full redux-saga refactor is still a little ways off and with any luck we'll have Windows support merged into the master by then. If you'd like to run this yourself, it should be sufficient to just pull in src/services/platform.services.js from @bennygenel's repo here.

When reviewing, specifically look for my usage of raw synchronous function calls vs yield call(...) within generators, I'm fairly certain I used them correctly but could use some reassurance. In addition, I had to take an interesting approach to handling stdio channels within generator functions, so I'm curious if my createStdioChannel approach is the best way to go about this.

@superhawk610 superhawk610 changed the title Redux saga tasks pr Refactor task middleware with redux-saga Jul 24, 2018
@superhawk610 superhawk610 requested a review from mik639 July 24, 2018 03:14
@superhawk610
Copy link
Collaborator Author

Closing in favor of #122.

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.

1 participant