I hereby claim:
- I am irus on github.
- I am heapyhop (https://keybase.io/heapyhop) on keybase.
- I have a public key ASB225Opy7SqCYCYo3oteYkMacTPA7oaPCeGQUm9I-r8Jwo
To claim this, I am signing this object:
fun <T : Any> Future<T>.toDeferred( | |
scope: CoroutineScope = GlobalScope, | |
waitTime: Long = 100 | |
): Deferred<T> { | |
val future = this | |
val deferred = CompletableDeferred<T>() | |
var isDone = false | |
scope.launch { | |
while (isActive && !isDone) { |
I hereby claim:
To claim this, I am signing this object: