isDestinationReadable

abstract suspend fun isDestinationReadable(destinationUri: CommonUri): Boolean(source)

True when destinationUri can still be opened for reading.

The success signal for a UF2 write is inverted: a UF2 bootloader consumes the image, reboots, and its volume disappears, so a destination that is still readable afterwards means the bytes landed somewhere persistent — the wrong place. Used as the tiebreaker when the detach broadcast is missed.