threadUnsafe

scala.annotation.threadUnsafe
final class threadUnsafe extends StaticAnnotation

This annotation can only be used on a field which defines a lazy val. When this annotation is used, the initialization of the lazy val will use a faster mechanism which is not thread-safe.

Attributes

Source
threadUnsafe.scala
Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any
In this article