Commit Graph

14 Commits

Author SHA1 Message Date
Radosław Miernik
888892501e Fixed missing firstRunPromise. 2023-11-29 22:36:55 +01:00
harryadel
2e32f1cc59 [tracker] Add a test without firstRunPromise 2023-11-29 11:55:59 +02:00
harryadel
3a8e09a275 Apply @radekmie suggestions 2023-10-12 17:59:24 +03:00
Radosław Miernik
bf1d038811 Implemented async Tracker with explicit values. 2022-11-04 22:11:20 +01:00
pravdomil
94bbfb220a fix typos 2018-02-21 21:06:20 +01:00
Mitar
5b81a70024 Extended tests for Tracker for hasDependents. 2017-01-05 00:52:45 +01:00
Dean Radcliffe
aa2fedc46d Implements Tracker.Computation#flush, and #run 2016-05-11 19:53:11 -05:00
Mitar
7e97b22444 Use Meteor.setTimeout to be able to use tests on the server. 2015-09-15 13:56:12 -07:00
David Glasser
91ce1561c3 tracker: implement Computation.onStop
Fixes #3915.
2015-04-29 00:18:13 -07:00
Slava Kim
41dc9b4855 Add Tracker.autorun's onError tests 2015-03-17 00:58:14 -07:00
David Glasser
14887d8c9c Avoid infinite loops in the Tracker flush cycle
Tracker.flush() will still guarantee that all computations and
afterFlush callbacks have been fully flushed, but the implicit flush
cycle started by an invalidation or afterFlush call will yield to the
event loop for 10ms every thousand computations.

Fixes #3901.

Reviewed at https://rbcommons.com/s/meteor/r/25/
2015-03-12 11:02:09 -07:00
Peter Curtis
1f3741cba2 Fix a failure to detect flush-in-autorun
Fixes #3037.
2015-01-09 15:31:30 -08:00
David Greenspan
c9857ea642 Change additional occurrences of Deps to Tracker 2014-08-27 22:43:28 -07:00
Sashko Stubailo
8e7cd297bf Renamed Deps to Tracker and added deprecated deps package. Tests pass 2014-08-27 19:45:49 -07:00