PromiseProxy
Proxy that evaluates object once. :class:Proxy will evaluate the object each time, while the promise will only evaluate it once.
Attributes
| Attribute | Type | Description |
|---|---|---|
| pending | collections.deque | A deque of callback functions and arguments to be executed once the proxy object is evaluated. |
| weakref | list | Internal attribute used to allow weak references to the PromiseProxy instance. |
Constructor
Signature
def PromiseProxy()