UNPKG

@johnf/react-native-owl

Version:
8 lines (7 loc) 285 B
"use strict"; /** * Waits for the specified amount of time (in milliseconds) before resolving. * @param ms: The number of miliseconds the function should wait for. */ export const waitFor = ms => new Promise(resolve => setTimeout(resolve, ms)); //# sourceMappingURL=wait-for.js.map