SkillAgentSearch skills...

Setimmediate.js

a really stupid setImmediate polyfill

Install / Use

/learn @component/Setimmediate.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

setimmediate.js

A really stupid, lightweight setImmediate polyfill for browsers and node 0.8. Supports the browser as well as node.

For a most robust polyfill, you should probably use setImmediate. For most cases, the underlying "next tick" mechanism is irrelevant.

Usage

require('setimmediate.js');

setImmediate(function () {
  console.log('something');
});

Nothing is exported! A global setImmediate function is added!

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated10y ago
Forks1

Languages

JavaScript

Security Score

70/100

Audited on Sep 21, 2015

No findings