blob: cf01f2c5d4bda86e77300803088fd8221152864d [file] [log] [blame]
const submitAndWaitForResponse = (currentFrame, isLast, width, height) => (
new Promise((resolve) => {
window.continueExecution = function continueExecution() {
resolve();
};
window.onMessageReceivedEvent({
currentFrame,
isLast,
width,
height,
});
})
);
export default {
submitAndWaitForResponse,
};