You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
override fun invokeOnTimeout(timeMillis: Long, block: Runnable, context: CoroutineContext): DisposableHandle {
// No API to cancel on timeout
worker.executeAfter(timeMillis.toMicrosSafe()) { block.run() }
return NonDisposableHandle
}
Yet it can be workarounded by carefully replacing lambda with something holding an atomic reference to a block so it can be nulled out