npm.io
0.1.0 • Published 12 years ago

bloody-immediate

Licence
—
Version
0.1.0
Deps
0
Vulns
0
Weekly
0

immediate

browser support

Install

$ npm install bloody-immediate

Require

var immediate = require("bloody-immediate")
// or 
define(["immediate"], function(immediate){  })
// or 
window.immediate

API

immediate.call(fn[, args …]) -> id

Calls fn asynchronously with args… as arguments. fn must be a function, no string is accepted.

immediate.cancel(id)

Cancels the given immediate call.