Simple Stack 1.12.1
Simple-Stack 1.12.1 (2018-08-28)
- ADDED:
ScopedServices.Activated. ImplementingActivatedfor a scoped service makes the service receive a callback when the scope it is bound to becomes the top-most scope, and when it stops being the top-most scope.
There are strict ordering guarantees that onEnterScope, onScopeActive, onScopeInactive, onExitScope are called in this order.
onScopeInactive is called in reverse order (just like onExitScope).
When navigating from one scope to another scope, the new scope becomes active before the previous scope becomes inactive.