Client
Tracker.onInvalidate(callback)
import { Tracker } from 'meteor/tracker' Source Registers a new onInvalidate callback on the current computation (which must exist), to be called immediately when the current computation is invalidated or stopped.
Arguments
- callback Function
-
A callback function that will be invoked as
func(c), wherecis the computation on which the callback is registered.
Please login to continue.