Sha256: 65962ff6e8a372a41e3db78eb1a41719fd0f828a9fb81d439a127173a2b17355
Contents?: true
Size: 300 Bytes
Versions: 26
Compression:
Stored size: 300 Bytes
Contents
'use strict'; function wait(config) { const delay = config.delay; if (typeof delay !== 'number') { return; } return Promise.all([ new Promise((resolve)=>globalThis.setTimeout(()=>resolve(), delay)), config.advanceTimers(delay) ]); } exports.wait = wait;
Version data entries
26 entries across 26 versions & 1 rubygems