-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] StartupTask as async #31
Comments
I've been debating this. Right now, I'm pretty against doing this because you only get a few seconds in certain background scenarios. Startups needs to be almost instant (no async). The jobs themselves can take a bit longer though. |
Ya - it is just too dangerous to open this up. Startup tasks were intended to wire up to external events and such. They aren't intended for infrastructure initialization because they need to happen without any perf hit. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Any reason why there's no StartAsync in IStartupTask? Or maybe an additional IStartupAsyncTask ?
API Changes
IStartupTask.StartAsync or additional IStartupAsyncTask with StartAsync
Intended Use Case
Some startup tasks can be async.
The text was updated successfully, but these errors were encountered: