FlowVar:
Filter:
Classes | Scheduling

FlowVar : Object

A place holder, which when accessed pauses a thread until the place holder has a value
Source: Condition.sc

Description

Class Methods

FlowVar.new(inVal: 'unbound')

Return a new instance,

Arguments:

inVal

If a value is given here, the FlowVar will not block execution.

Inherited class methods

Instance Methods

.value

.value = inVal

Set the value bound to the FlowVar.

The getter returns the value bound to the FlowVar. If the value is not yet available, hold execution (this requires the method to be called from within a Routine or similar thread.).

Arguments:

inVal

Any object.

Inherited instance methods