Asynchronous Exports / CtorParam
silkfire opened this issue · comments
Gabriel Bider commented
I've seem to run into an issue I don't know how to solve.
I need to provide a parameter for a dependency, but to create it, I need to run an async method.
Doing this though registers it as a Task<T>
, causing an exception as Grace doesn't know how to resolve T
. Does the library support this scenario?
Basically, Export Task<T>
but import it as T
.