This should block save_hex() until the hex file has been fully transfer to the micro:bit in all operating systems.
It would resolve this issue in Mu: https://github.com/mu-editor/mu/issues/1181
And will help simplify the mu.modes.microbit.flash() method as well, not having to have a special case for macOS/Linux.
I've tested this in macOS Mojave, Windows 10 VM and Ubuntu Bionic VM, but it'd be good to test it also in other systems.
I've upsed DAPLinnk 0234 and 0253 (oldest and newest) for the testing as well.
This should block save_hex() until the hex file has been fully transfer to the micro:bit in all operating systems.
It would resolve this issue in Mu: https://github.com/mu-editor/mu/issues/1181 And will help simplify the mu.modes.microbit.flash() method as well, not having to have a special case for macOS/Linux.