Scope

object Scope
Companion:
class
class Object
trait Matchable
class Any
Scope.type

Value members

Concrete methods

def apply[T](f: Scope => T): T

Opens an implicit scope, evaluates the function and cleans up all the resources as soon as execution leaves the demercated block.

Opens an implicit scope, evaluates the function and cleans up all the resources as soon as execution leaves the demercated block.

def unsafe(): Scope

Unsafe manually managed scope.

Unsafe manually managed scope.

Concrete fields

Scope that never closes. Resources allocated in this scope are going to be acquired as long as application is running.

Scope that never closes. Resources allocated in this scope are going to be acquired as long as application is running.