safe-react/src/utils/timer.js
Germán Martínez 5fc9fa6431 Format code
2019-09-12 17:39:55 +02:00

3 lines
106 B
JavaScript

// @flow
export const sleep: Function = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms))