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

Window.clearImmediate()

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

Document Tags and Contributors

Tags: 
 Contributors to this page: fscholz, kollishivagangadhar, teoli, Sheppy, McGurk
 Last updated by: fscholz,