Encapsulates the extend during which a Context is held by an Storage implementation. Once a Scope is closed, the Context will be removed from the Storage that created the Scope.
- Companion:
- object
trait AutoCloseable
class Object
trait Matchable
class Any
Value members
Abstract methods
Removes the Context from the Storage. Implementations will typically have a reference to the Context that was present before the Scope was created and put it back in the Storage upon closing.
Removes the Context from the Storage. Implementations will typically have a reference to the Context that was present before the Scope was created and put it back in the Storage upon closing.