Last active
August 27, 2016 16:50
-
-
Save brentmulligan/0ae236374cb93b7f25e65bfaee40f3f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function* root() { | |
// yield an array of forked generator functions (watchers). | |
yield [ | |
// Asyncly call each watcher | |
fork(watchReqProductList), | |
fork(watchReqProduct), | |
fork(watchCreateUser), | |
fork(watchReqUserAuth), | |
fork(watchCreateUserSession) | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment