Popularity
1.1
Growing
Activity
0.4
Declining
25
6
4

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Node.Js     Polyfills     Ponyfill     Polyfill     Shim     Timeout     setTimeout     Immediate     setImmediate    
Latest version: v2.0.0

set-immediate-shim alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view set-immediate-shim alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of set-immediate-shim or a related project?

Add another 'Node.Js' Module

README

set-immediate-shim Build Status

Simple setImmediate ponyfill

Note: This shim is quite inefficient, see #4.

Install

$ npm install set-immediate-shim

Usage

const setImmediateShim = require('set-immediate-shim');

setImmediateShim(() => {
    console.log('2');
});

console.log('1');

//=> 1
//=> 2

Related

  • p-immediate - Returns a promise resolved in the next event loop - think setImmediate()

Get professional support for this package with a Tidelift subscription Tidelift helps make open source sustainable for maintainers while giving companiesassurances about security, maintenance, and licensing for their dependencies.