debian-mirror-gitlab/spec/javascripts/helpers/wait_for_promises.js

2 lines
77 B
JavaScript
Raw Normal View History

2018-11-18 11:00:15 +05:30
export default () => new Promise(resolve => requestAnimationFrame(resolve));