Dex.FutureSet¶
- Subclasses:
None
Methods¶
- Inherited:
|
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.FutureSet¶
- Bases:
- Abstract:
No
Dex.FutureSet
represents a set ofDex.Future
.You may retrieve each underlying
Dex.Future
usingDex.FutureSet.get_future_at
().The
Dex.FutureStatus
of of theDex.FutureSet
depends on how the set was created usingDex.Future.all
(),Dex.Future.any
(), and similar mmethods.- get_future_at(position)¶
- Parameters:
position (
int
) –- Returns:
- Return type:
Gets a
Dex.Future
that was used to produce the result of self.Use
Dex.FutureSet.get_size
() to determine the number ofDex.Future
that are contained within theDex.FutureSet
.
- get_size()¶
- Returns:
the number of
Dex.Future
in self.- Return type:
Gets the number of futures associated with the
Dex.FutureSet
. You may useDex.FutureSet.get_future_at
() to obtain the individualDex.Future
.
- get_value_at(position)¶
- Parameters:
position (
int
) – theDex.Future
position within the set- Raises:
- Returns:
a
GObject.Value
if successful; otherwiseNone
and error is set.- Return type:
Gets the result from a
Dex.Future
that is part of theDex.FutureSet
.