Registration with Async Instance Creator Factory method · Issue #243 · simpleinjector/SimpleInjector

Ideally I'd like a Register overload like the following: Register<TService>(Func<Task<TService>> instanceCreator, Lifestyle lifestyle) So I could write the following: container.Register</task<tservice></tservice>