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
When ticker mode is **false** the `ScheduledDataLoaderRegistry` algorithm is as follows :
659
+
660
+
* Nothing starts scheduled - some code must call `registry.dispatchAll()` a first time
661
+
* Then for every `DataLoader` in the registry
662
+
* The `DispatchPredicate` is called to test if the data loader should be dispatched
663
+
* if it returns **false** then a task is scheduled to re-evaluate this specific dataloader in the near future
664
+
* If it returns **true**, then `dataLoader.dispatch()` is called and the dataloader is not rescheduled again
665
+
* The re-evaluation tasks are run periodically according to the `registry.getScheduleDuration()`
666
+
667
+
When ticker mode is **true** the `ScheduledDataLoaderRegistry` algorithm is as follows:
668
+
669
+
* Nothing starts scheduled - some code must call `registry.dispatchAll()` a first time
670
+
* Then for every `DataLoader` in the registry
671
+
* The `DispatchPredicate` is called to test if the data loader should be dispatched
672
+
* if it returns **false** then a task is scheduled to re-evaluate this specific dataloader in the near future
673
+
* If it returns **true**, then `dataLoader.dispatch()` is called **and** a task is scheduled to re-evaluate this specific dataloader in the near future
674
+
* The re-evaluation tasks are run periodically according to the `registry.getScheduleDuration()`
0 commit comments