Sha256: 16d8dea95c71a93ad5a20022e62ddb83091ec85caaefd047e24f8c07c8370052

Contents?: true

Size: 406 Bytes

Versions: 64

Compression:

Stored size: 406 Bytes

Contents

var global = require('./_global');
var core = require('./_core');
var $export = require('./_export');
var partial = require('./_partial');
// https://esdiscuss.org/topic/promise-returning-delay-function
$export($export.G + $export.F, {
  delay: function delay(time) {
    return new (core.Promise || global.Promise)(function (resolve) {
      setTimeout(partial.call(resolve, true), time);
    });
  }
});

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/core.delay.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/core.delay.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/core.delay.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/core.delay.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/core.delay.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/core.delay.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/core.delay.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/core.delay.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/core.delay.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/core.delay.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/core.delay.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/core.delay.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/core.delay.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/core.delay.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/core.delay.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/core.delay.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/core.delay.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/core.delay.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/library/modules/core.delay.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/core.delay.js