UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

17 lines (16 loc) 329 B
import "../chunk-4N72FQFX.mjs"; // src/utils/Wait.ts var Wait = class { static wait(ms = 0) { return new Promise((resolve) => setTimeout(resolve, ms)); } static seconds(s = 0) { return this.wait(s * 1e3); } }; var wait = (millis) => Wait.wait(millis); export { Wait, wait }; //# sourceMappingURL=Wait.mjs.map