Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nerrad committed Apr 6, 2019
1 parent cb14bc4 commit 78185ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ _Returns_
Given the name of a registered store, returns an object of the store's action creators.
Calling an action creator will cause it to be dispatched, updating the state value accordingly.

Note: If the action creator is a generator then a promise is returned.
Otherwise, the dispatch will return `undefined`.
Note: If the action creator is a generator or returns a promise, a promise is
returned. Otherwise, the dispatch will return `undefined`.

_Usage_

Expand Down
4 changes: 2 additions & 2 deletions packages/data/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export const select = defaultRegistry.select;
* Given the name of a registered store, returns an object of the store's action creators.
* Calling an action creator will cause it to be dispatched, updating the state value accordingly.
*
* Note: If the action creator is a generator then a promise is returned.
* Otherwise, the dispatch will return `undefined`.
* Note: If the action creator is a generator or returns a promise, a promise is
* returned. Otherwise, the dispatch will return `undefined`.
*
* @param {string} name Store name
*
Expand Down

0 comments on commit 78185ab

Please sign in to comment.