Lines Matching refs:callback
86 if (typeof this.callback === 'function')
87 this.callback(null);
95 if (typeof this.callback === 'function')
96 this.callback(ex);
105 if (typeof this.callback === 'function')
106 this.callback(null);
109 function createWriteWrap(handle, callback) {
117 req.callback = callback;
162 if (!req.async && typeof req.callback === 'function') {
163 req.callback();
237 function setStreamTimeout(msecs, callback) {
251 if (callback !== undefined) {
252 validateFunction(callback, 'callback');
253 this.removeListener('timeout', callback);
259 if (callback !== undefined) {
260 validateFunction(callback, 'callback');
261 this.once('timeout', callback);