Skip to content

Commit

Permalink
Note that waitFor callback is called synchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Tilley committed Oct 13, 2014
1 parent 1f1deb5 commit 548dcfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/contents/documentation/stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ Fluxxor.createStore({
});
```

Note that the callback is called synchronously.

## `EventEmitter` methods

Stores are instances of EventEmitters, and thus [inherit all the EventEmitter methods](http://nodejs.org/api/events.html#events_class_events_eventemitter). Most notably, stores should `emit` an event to notify the views that their data has changed.
Expand Down

0 comments on commit 548dcfc

Please sign in to comment.