ClassCodeWrapper
scala.build.internal.ClassCodeWrapper
case class ClassCodeWrapper(scalaVersion: String, log: String => Unit) 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 Serializabletrait Producttrait Equalsclass CodeWrapperclass Objecttrait Matchableclass Any
Members list
In this article