Asynchronous dependency injection