David Glasser
91ce1561c3
tracker: implement Computation.onStop
...
Fixes #3915 .
2015-04-29 00:18:13 -07:00
Slava Kim
a02f97c4b6
Improve logging through Meteor._debug in Tracker
2015-03-17 01:25:58 -07:00
Slava Kim
1df8d15275
Put extra onError callback of Tracker.autorun to a named options object
2015-03-17 00:42:35 -07:00
Slava Kim
d6af3605ca
Tweaks to error reporting in Tracker.
...
- Allow passing an onError callback to Tracker.autorun.
- Workaround the issue described in #3655 by logging parts of error message
separately.
2015-03-17 00:37:58 -07:00
Slava Kim
9a29988016
Merge pull request #3937 from meteor/callbacks-docs
...
Better documentation for callbacks taking arguments
2015-03-17 07:21:11 +00:00
Slava Kim
b3e1c4d89a
Docs: Put TrackerComputationFunction typedef to Tracker namespace
2015-03-17 00:20:32 -07:00
Slava Kim
dab2782434
Document a whole bunch of missing arguments/returns
2015-03-14 23:04:09 -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
Sergio Garcia Murillo
f50f2b64c2
Use Meteor._setImmediate instead of setTimeout with 0
2015-03-10 14:05:11 -07:00
Slava Kim
996369e6a5
Expose the active computations held within Tracker
2015-02-26 18:45:13 -08:00
Peter Curtis
1f3741cba2
Fix a failure to detect flush-in-autorun
...
Fixes #3037 .
2015-01-09 15:31:30 -08:00
Slava Kim
44832cbbdc
Add return types and properties types in JSDoc to a lot of methods
2014-11-02 02:45:17 -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