Reactor

rescala.extra.reactor.ReactorBundle.Reactor$
See theReactor companion class
object Reactor

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Reactor.type

Members list

Concise view

Value members

Concrete methods

def loop[T](initialValue: T)(initialStage: Stage[T]): Reactor[T]

Creates a new Reactor, which starts from the beginning, once it's finished.

Creates a new Reactor, which starts from the beginning, once it's finished.

Attributes

T

The type of the Reactor value.

initialStage

The Stage defining the Reactors behaviour.

initialValue

The initial value of the Reactor.

Returns:

The created Reactor.

def once[T](initialValue: T)(initialStage: Stage[T]): Reactor[T]

Creates a new Reactor, which steps through the reactor stages ones.

Creates a new Reactor, which steps through the reactor stages ones.

Attributes

T

The type of the Reactor value.

initialStage

The Stage defining the Reactors behaviour.

initialValue

The initial value of the Reactor.

Returns:

The created Reactor.