Tracker.onInvalidate

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), where c is the computation on which the callback is registered.

doc_Meteor
2016-05-29 17:27:00
Comments
Leave a Comment

Please login to continue.