Indicate that the value is no longer valid.
Indicate that the value is no longer valid. Any attempts to set this
Ref after a close will be ignored. This Ref is finished from now on
Sets the current value of this Ref and invoke callback with result of f.
Sets the current value of this Ref and invoke callback with result of f.
If this Ref has not been set the input to f is None.
Additionally if f returns None, its no-op and callback will be invoked with current value.
In case the Ref is finished will invoke callback with -\/(End) and will be no-op
If Ref is failed, callback is invoked with -\/(ex) where ex is reason for failed Ref.
Raise an asynchronous error for readers of this Ref.
Raise an asynchronous error for readers of this Ref. Any attempts to
set this Ref after the fail are ignored. This Ref is failed from now on.
Get the current value of this Ref.
Get the current value of this Ref. If this
Ref has not been set, the callback will be invoked later.
Sets the current value of this Ref and returns previous value of the Ref.
Sets the current value of this Ref and returns previous value of the Ref. If this Ref
has not been set, cb is invoked with None and value is set. If this Ref
has been finished and is no longer valid this has no effect and cb will be called with -\/(End)
Modify the current value of this Ref.
Modify the current value of this Ref. If this Ref
has not been set, or is finished this has no effect.
Sets the value inside this ref.