const mixinafIoc::ThreadStashManager
afIoc::ThreadStashManager
(Service) - Creates and keeps tabs on ThreadStashs so they may be cleaned up, say, at the end of a web request.
@since 1.3.0
- addCleanUpHandler
abstract Void addCleanUpHandler(|->Void handler)
Add a handler to be called on thread clean up
- cleanUpThread
abstract Void cleanUpThread()
Removes all values in the current thread associated / used with this manager
- createStash
abstract ThreadStash createStash(Str owner)
creates a stash with the given prefix
- keys
abstract Str[] keys()
Returns all (fully qualified) keys in the current thread associated / used with this manager