@parity/light.js
Version:
A high-level reactive JS library optimized for light clients
13 lines (12 loc) • 365 B
JavaScript
;
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
// This file is part of Parity.
//
// SPDX-License-Identifier: MIT
Object.defineProperty(exports, "__esModule", { value: true });
// TODO Use fake timers instead
exports.default = (function (duration) {
return new Promise(function (resolve) {
setTimeout(resolve, duration);
});
});