debian-mirror-gitlab/spec/javascripts/helpers/wait_for_promises.js
2018-11-18 11:00:15 +05:30

1 line
77 B
JavaScript

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