debian-mirror-gitlab/spec/frontend/helpers/wait_for_promises.js
2019-05-18 00:54:41 +05:30

1 line
77 B
JavaScript

export default () => new Promise(resolve => requestAnimationFrame(resolve));