UNPKG

slavery-js

Version:

A simple clustering app that allows you to scale an application on multiple thread, containers or machines

10 lines (8 loc) 273 B
type awaitIntervalOptions = { condition: () => any; timeout?: number; interval?: number; error?: string; }; declare function interval_await({ condition, timeout, interval, error }: awaitIntervalOptions): Promise<any>; export { interval_await as default };