Simple

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

Attributes

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

Members list

Implicits

Implicits

@Scaladoc(value = "/**\n * A simple task 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 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

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