Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Allow Startup.Configure to be async #536

Closed
nothrow opened this issue Dec 22, 2015 · 1 comment
Closed

Allow Startup.Configure to be async #536

nothrow opened this issue Dec 22, 2015 · 1 comment

Comments

@nothrow
Copy link

nothrow commented Dec 22, 2015

When Startup.Configure method is async Task, I'd expect the system to await it's finish.

It can be useful for, for example, configuring some database stuff inside the method. When I have Startup.Configure async void, application may start even before the Configure finished.

@Tratcher
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants