Runner

trait Runner extends Control
Companion
object
trait Control
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Bounce
trait Process

Type members

Types

type Repr[T <: Txn[T]] <: Runner[T]

Value members

Concrete methods

def busy: Trig

Triggers if the state becomes 1, 2, or 3.

Triggers if the state becomes 1, 2, or 3.

def done: Trig

Triggers if the state becomes 4

Triggers if the state becomes 4

def failed: Trig

Triggers if the state becomes 5

Triggers if the state becomes 5

def hasFailed: Ex[Boolean]

State is 5.

State is 5.

def idle: Trig

Triggers if the state becomes 0, 4, or 5

Triggers if the state becomes 0, 4, or 5

def isBusy: Ex[Boolean]

State is 1, 2, or 3. Opposite of idle

State is 1, 2, or 3. Opposite of idle

def isDone: Ex[Boolean]

State is 4.

State is 4.

def isIdle: Ex[Boolean]

State is 0, 4, or 5. Opposite of busy

State is 0, 4, or 5. Opposite of busy

def isRunning: Ex[Boolean]

State is 3.

State is 3.

def isStopped: Ex[Boolean]

State is 0.

State is 0.

def isStoppedOrDone: Ex[Boolean]

State is 0 or 4.

State is 0 or 4.

def messages: Ex[Seq[(Long, Int, String)]]

A message tuple is (time, level, text) where level is 0 (info), 1 (warn) or 2 (error).

A message tuple is (time, level, text) where level is 0 (info), 1 (warn) or 2 (error).

def progress: Ex[Double]

Zero to one. Negative if unknown

Zero to one. Negative if unknown

def run: Act

Runs the process without custom arguments.

Runs the process without custom arguments.

def runWith(attr: Attr*): Act

Runs the process with a list of given key-value arguments.

Runs the process with a list of given key-value arguments.

def running: Trig

Triggers if the state becomes 2

Triggers if the state becomes 2

def state: Ex[Int]

0 - stopped, 1 - preparing, 2 - prepared, 3 - running, 4 - done, 5 - failed

0 - stopped, 1 - preparing, 2 - prepared, 3 - running, 4 - done, 5 - failed

def stop: Act

Stops the process.

Stops the process.

def stopped: Trig

Triggers if the state becomes 0

Triggers if the state becomes 0

def stoppedOrDone: Trig

Triggers if the state becomes 0 or 4

Triggers if the state becomes 0 or 4

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
final
def expand[T <: Txn[LazyRef(...)]](implicit ctx: Context[T], tx: T): Repr[T]
Inherited from
Lazy
protected
def mkRepr[T <: Txn[LazyRef(...)]](implicit ctx: Context[T], tx: T): Repr[T]
Inherited from
Lazy
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
final
def token: AnyRef
Inherited from
Control

Inherited fields

@transient
final protected
val ref: Object
Inherited from
Lazy