If I would bind class A using deferred, and class ...
# coroutines
d
If I would bind class A using deferred, and class B needs class A, I could
bind<Deferred<B>>() with instance(async(cxt) { B(A.await()) })
which would effectively start the creation of A, then when I need to inject it, I could do
val b = runBlocking { instance<B>().await() }
which would only wait the rest of the time, not the whole initialization time... right? This could be a possible extension fun to Kodein...