diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js index 89e103f54..f36744740 100644 --- a/src/extensions/scratch3_boost/index.js +++ b/src/extensions/scratch3_boost/index.js @@ -1804,7 +1804,11 @@ class Scratch3BoostBlocks { } } }); - return Promise.resolve(); + return new Promise(resolve => { + window.setTimeout(() => { + resolve(); + }, BoostBLE.sendInterval); + }); } /** @@ -1852,7 +1856,11 @@ class Scratch3BoostBlocks { } } }); - return Promise.resolve(); + return new Promise(resolve => { + window.setTimeout(() => { + resolve(); + }, BoostBLE.sendInterval); + }); } /**