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

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.

Type parameters

T

The type of the Reactor value.

Value parameters

initialStage

The Stage defining the Reactors behaviour.

initialValue

The initial value of the Reactor.

Attributes

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.

Type parameters

T

The type of the Reactor value.

Value parameters

initialStage

The Stage defining the Reactors behaviour.

initialValue

The initial value of the Reactor.

Attributes

Returns

The created Reactor.