Lines Matching refs:callback
29 @param {Object} [o.context=Y] The execution context of the callback to done
63 * Add a callback to the stack
65 * @param {Function} fn The function callback we are waiting for
77 * Test to see if all registered items in the stack have completed, if so call the callback to `done`
82 if (self.finished >= self.total && self.callback) {
83 self.callback.call(self.context, self.results, self.data);
89 * @param {Function} callback The callback to execute on complete
90 * @param {Mixed} callback.results The results of all the callbacks in the stack
91 * @param {Mixed} [callback.data] The data given to the `done` method
92 * @param {Mixed} data Mixed data to pass to the success callback
94 done: function (callback, data) {
95 this.callback = callback;