ClassCodeWrapper
scala.build.internal.ClassCodeWrapper$
case object ClassCodeWrapper extends CodeWrapper
Script code wrapper that solves problem of deadlocks when using threads. The code is placed in a class instance constructor, the created object is kept in 'mainObjectCode'.script to support running interconnected scripts using Scala CLI
Incompatible with Scala 2 - it uses Scala 3 feature 'export'
Incompatible with native JS members - the wrapper is a class
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass CodeWrapperclass Objecttrait Matchableclass Any
- Self type
-
ClassCodeWrapper.type
Members list
In this article