Lines Matching refs:handle
4739 function HandleWrapper(handle) { argument
4740 this.handle = handle;
4744 clearTimeout(this.handle);
4750 var handle;
4759 handle = setTimeout(function() { ret._fulfill(); }, +ms);
4761 ret._setOnCancel(new HandleWrapper(handle));
4794 clearTimeout(this.handle);
4799 clearTimeout(this.handle);
5685 function clearImmediate(handle) { argument
5686 delete tasksByHandle[handle];
5711 function runIfPresent(handle) { argument
5717 setTimeout(runIfPresent, 0, handle);
5719 var task = tasksByHandle[handle];
5725 clearImmediate(handle);
5733 registerImmediate = function(handle) { argument
5734 process.nextTick(function () { runIfPresent(handle); });
5773 registerImmediate = function(handle) { argument
5774 global.postMessage(messagePrefix + handle, "*");
5781 var handle = event.data;
5782 runIfPresent(handle);
5785 registerImmediate = function(handle) { argument
5786 channel.port2.postMessage(handle);
5792 registerImmediate = function(handle) { argument
5797 runIfPresent(handle);
5807 registerImmediate = function(handle) { argument
5808 setTimeout(runIfPresent, 0, handle);