You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This small and simple utility library is a port of [Facebook DataLoader](https://github.com/facebook/dataloader)
@@ -72,7 +75,7 @@ distributed [`EventBus`](http://vertx.io/docs/vertx-core/java/#event_bus) that m
72
75
Now in NodeJS generates so-call 'ticks' in which queued functions are dispatched for execution, and Facebook `DataLoader` uses
73
76
the `nextTick()` function in NodeJS to _automatically_ dequeue load requests and send them to the batch execution function for processing.
74
77
75
-
And here there is an *IMPORTANT DIFFERENCE* compared to how _this_ data loader operates!!
78
+
And here there is an **IMPORTANT DIFFERENCE** compared to how _this_ data loader operates!!
76
79
77
80
In NodeJS the batch preparation will not affect the asynchronous processing behaviour in any way. It will just prepare
78
81
batches in 'spare time' as it were.
@@ -90,12 +93,12 @@ and there are also gains to this different mode of operation:
90
93
However, with batch execution control comes responsibility! If you forget to make the call to `dispatch()` then the futures
91
94
in the load request queue will never be batched, and thus _will never complete_! So be careful when crafting your loader designs.
92
95
93
-
*Note*: In future releases the danger of not invoking dispatch will be greatly diminished. There will be an optional dispatch timeout,
96
+
**Note**: In future releases the danger of not invoking dispatch will be greatly diminished. There will be an optional dispatch timeout,
94
97
and some other optional features that ensure all load requests eventually complete. See [Project plans](#project-plans) for upcoming features and ideas.
95
98
96
99
### Additional features
97
100
98
-
- Initial release is a feature-complete port of the reference implementation (with the only change being [Manual dispatching](#manual-dispatching)).
101
+
- Initial release is a feature-complete port of the reference implementation (only change being [Manual dispatching](#manual-dispatching)).
99
102
- See [Project plans](#project-plans) for upcoming features and ideas.
0 commit comments