https://kotlinlang.org logo
Title
k

kristofdho

11/06/2017, 6:29 PM
untested and i'm not familiar with Kovenant either, but this should probably work
fun <T> Deferred<Unit,T>.resolve() = resolve(Unit)
h

hagabaka

11/06/2017, 11:07 PM
Sorry, it turns out this wasn't actually working, but throwing
java.lang.IllegalStateException: Value[kotlin.Unit] is set, can't override with new value[kotlin.Unit]
k

kristofdho

11/06/2017, 11:09 PM
but calling
resolve(Unit)
on the deferred object works?
h

hagabaka

11/06/2017, 11:11 PM
ah, that also doesn't work, my mistake
Do you know what I am supposed to pass to the function then?
k

kristofdho

11/06/2017, 11:13 PM
as i said, i'm not familiar with kovenant
apparently there is a #kovenant channel though
h

hagabaka

11/06/2017, 11:13 PM
yeah, I tried asking