Resolving dependency injection when the effect is return by a function - Effect Community