OpenQuizz
Une application de gestion des contenus pédagogiques
Future Class Reference
Inheritance diagram for Future:
Collaboration diagram for Future:

Public Member Functions

def __init__ (self, attempt_number)
 
def failed (self)
 
def construct (cls, attempt_number, value, has_exception)
 

Data Fields

 attempt_number
 

Detailed Description

Encapsulates a (future or past) attempted call to a target function.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  attempt_number 
)

Member Function Documentation

◆ construct()

def construct (   cls,
  attempt_number,
  value,
  has_exception 
)
Construct a new Future object.

◆ failed()

def failed (   self)
Return whether a exception is being held in this future.

Field Documentation

◆ attempt_number

attempt_number

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