Simple

mill.api.Task.Simple
See theSimple companion trait
object Simple

Attributes

Companion
trait
Source
Task.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Simple.type

Members list

Implicits

Implicits

implicit inline def create[T](inline t: T)(using inline rw: ReadWriter[T], inline ctx: ModuleCtx): Simple[T]

A simple task is the most common Task a user would encounter, commonly defined using the def foo = Task {...} syntax. Task.Computeds require that their return type is JSON serializable. In return they automatically caches their return value to disk, only re-computing if upstream Tasks change

A simple task is the most common Task a user would encounter, commonly defined using the def foo = Task {...} syntax. Task.Computeds require that their return type is JSON serializable. In return they automatically caches their return value to disk, only re-computing if upstream Tasks change

Attributes

Source
Task.scala
implicit inline def create[T](inline t: Result[T])(using inline rw: ReadWriter[T], inline ctx: ModuleCtx): Simple[T]

Attributes

Source
Task.scala
implicit inline def createSeq[T](inline t: Seq[T])(using inline rw: ReadWriter[Seq[T]], inline ctx: ModuleCtx): Simple[Seq[T]]

Attributes

Source
Task.scala