circuits.core.values – Value — circuits 2.1.0 documentation

# circuits 2.1.0 documentation

# `circuits.core.values` – Value

This defines the Value object used by components and events.

## Classes

class `circuits.core.values.` `Value`(event=None, manager=None)

  Bases: `object`

  Create 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: | result – True if this value has been changed. errors – True if while setting this value an exception occured. notify – True or an event name to notify of changes to this value

  This is a Future/Promise implementation.

## Components

none

## Events

none

## Functions

none