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
| """ | |
| Python implementation of JavaScript's Promise interface | |
| with the power of asyncio. | |
| See https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise | |
| for the API specification. | |
| Authored by: Frost Ming <mianghong@gmail.com> | |
| License: WTFPL | |
| """ |
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
| def createStore(reducer, state, enhancer): | |
| """ | |
| Store instance constructor | |
| Usage: | |
| .. code-block: python | |
| from store import createStore |