circuits.core.values module¶
This defines the Value object used by components and events.
-
class
circuits.core.values.Value(event=None, manager=None)¶ Bases:
objectCreate a new future Value Object
Creates a new future Value Object which is used by Event Objects and the Manager to store the result(s) of an Event Handler’s exeuction of some Event in the system.
Parameters: - event (Event instance) – The Event this Value is associated with.
- manager (A Manager/Component instance.) – The Manager/Component used to trigger notifications.
Variables: This is a Future/Promise implementation.
-
inform(force=False)¶
-
getValue(recursive=True)¶
-
setValue(value)¶
-
value¶ Value of this Value