No Partying Mariachis

    queue-tick

    1.0.0 • Public • Published

    queue-tick

    Next tick shim that prefers process.nextTick over queueMicrotask for compat

    npm install queue-tick
    

    Usage

    const queueTick = require('queue-tick')
    
    // in Node it uses process.nextTick, in browsers it uses queueMicrotask
    queueTick(() => console.log('laters'))

    License

    MIT

    Keywords

    none

    Install

    npm i queue-tick

    DownloadsWeekly Downloads

    51,842

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.92 kB

    Total Files

    7

    Last publish

    Collaborators

    • mafintosh