Repository navigation
Grabbing a App scoped container from a request scoped container? #516
|
Hi, is there a way to get an App scoped container from a request scope container? I have this use case where a service spawns a long running task, and I would like this long running task to be in its own Now, I can also list the |
Replies: 1 comment 2 replies
|
It seems I can access the app container with the |
Yes, you can just get
parent_container, forScope.REQUESTit will be attachedScope.SESSION.From my experience, I'd rather have some "task manager" class created for
Scope.APPand holdingContainerinstance itself