Replies: 2 comments 4 replies
-
Why not use the startup lifespan? |
Beta Was this translation helpful? Give feedback.
0 replies
-
it's not correct to call There's no point providing support for an async factory because there's no way to correctly run background tasks that outlive the factory, or acquire resources that need cleanup. This is what lifespan_context is for |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example:
Beta Was this translation helpful? Give feedback.
All reactions