So it's possible that doing Bluetooth.flush() may help too?
But really the UART in Espruino was designed specifically to avoid sending more packets than needed, so if you want fine-grained control it might be worth making your own characteristics
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I did add
Serial.flush()
recently: https://www.espruino.com/Reference#l_Serial_flushSo it's possible that doing
Bluetooth.flush()
may help too?But really the UART in Espruino was designed specifically to avoid sending more packets than needed, so if you want fine-grained control it might be worth making your own characteristics