flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

Raise exception on timeout during connection

Open CelestialGuru opened this issue 4 years ago • 1 comments

There is no way to catch an exception that is thrown inside of a Timer's callback method. Instead a Completer is used and whichever of the timeout or native channel call completes first determines which value the future is complete with: error or void.

CelestialGuru avatar Sep 02 '20 22:09 CelestialGuru