StoreModel#waitFor doesn't work
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 312
- PR merge metrics
- No merged PRs in 30d
Description
I have the following CoffeeScript code snippet
`
class AStore
@displayName: 'AStore'
onTest: (props) ->
@waitFor(Myapp.BStore.dispatchToken)
console.log("AStore action test")
...
class BStore
@displayName: 'BStore'
onTest: (props) ->
console.log("BStore action test")
...
class AActions
...
class BActions
...
`
When I try to call AActions.test() , it just prints the message "AStore action test" without waiting BStore actions called. How can I force AActions.test() to wait for BActions.test() is excuted completely?
Contributor guide
Assessment
This issue has not been assessed yet.