App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.ndb.tasklets.Future Class Reference
Inheritance diagram for google.appengine.ext.ndb.tasklets.Future:
google.appengine.ext.ndb.tasklets.MultiFuture google.appengine.ext.ndb.tasklets.QueueFuture google.appengine.ext.ndb.tasklets.ReducingFuture google.appengine.ext.ndb.tasklets.SerialQueueFuture

Public Member Functions

def __init__
 
def __repr__
 
def dump
 
def dump_stack
 
def add_callback
 
def add_immediate_callback
 
def set_result
 
def set_exception
 
def done
 
def state
 
def wait
 
def get_exception
 
def get_traceback
 
def check_success
 
def get_result
 
def wait_any
 
def wait_all
 

Static Public Attributes

 IDLE = apiproxy_rpc.RPC.IDLE
 
 RUNNING = apiproxy_rpc.RPC.RUNNING
 
 FINISHING = apiproxy_rpc.RPC.FINISHING
 

Detailed Description

A Future has 0 or more callbacks.

The callbacks will be called when the result is ready.

NOTE: This is somewhat inspired but not conformant to the Future interface
defined by PEP 3148.  It is also inspired (and tries to be somewhat
compatible with) the App Engine specific UserRPC and MultiRpc classes.

The documentation for this class was generated from the following file: