UNPKG

ts-method-cache

Version:

Data method caching logic based on TypeScript decorators

12 lines (11 loc) 261 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function wait(time) { if (time === void 0) { time = 0; } return new Promise(function(resolve) { return setTimeout(resolve, time); }); } exports.wait = wait;