https://kotlinlang.org logo
l

louiscad

04/19/2017, 1:24 PM
@User uploaded a file: Untitled and commented: Here's my original code. I'd like to add a timeout to it and if onScanResult is not called before it, I want to call
bleScanner.stopScan(this)
and resume the coroutine with an exception