UNPKG

@thespidercode/openbook-swap

Version:
12 lines (11 loc) 287 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.waitFor = void 0; const waitFor = async (time) => { await new Promise(async (res, rej) => { setTimeout(() => { res(null); }, time); }); }; exports.waitFor = waitFor;