4 lines
170 B
TypeScript
4 lines
170 B
TypeScript
export const sync: (input: number) => number
|
|
// sleep [duration] ms, return Promise which resolved 2 * duration
|
|
export const sleep: (duration: number) => Promise<number>
|