Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Window.clearImmediate()

Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !

Summary

This method clears the action specified by window.setImmediate.

Note: This method is currently only proposed, is not expected to become standard, and is only implemented by recent builds of Internet Explorer.

Syntax

window.clearImmediate(immediateID)

where immediateID is a ID returned by window.setImmediate.

Examples

var immediateID = setImmediate(function () {
  // Run some code
}

document.getElementById("button").addEventListener(function () {
  clearImmediate(immediateID);
}, false);

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support Not supported Not supported (Yes) Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported Not supported Not supported Not supported Not supported

See also

window.setImmediate

Specification: Efficient Script Yielding

Étiquettes et contributeurs liés au document

Étiquettes : 
 Contributeurs à cette page : fscholz, kollishivagangadhar, teoli, Sheppy, McGurk
 Dernière mise à jour par : fscholz,