Simple

mill.define.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

@Scaladoc(value = "/**\n * A target is the most common [[Task]] a user would encounter, commonly\n * defined using the `def foo = Task {...}` syntax. [[Task.Computed]]s require that their\n * return type is JSON serializable. In return they automatically caches their\n * return value to disk, only re-computing if upstream [[Task]]s change\n */")
implicit inline def create[T](inline t: T)(implicit inline rw: ReadWriter[T], inline ctx: ModuleCtx): Simple[T]

A target 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 target 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])(implicit inline rw: ReadWriter[T], inline ctx: ModuleCtx): Simple[T]

Attributes

Source
Task.scala