Dex.FutureSet¶
- Subclasses:
None
Methods¶
- Inherited:
|
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.FutureSet¶
- Bases:
- Abstract:
No
Dex.FutureSetrepresents a set ofDex.Future.You may retrieve each underlying
Dex.FutureusingDex.FutureSet.get_future_at().The
Dex.FutureStatusof of theDex.FutureSetdepends 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.Futurethat was used to produce the result of self.Use
Dex.FutureSet.get_size() to determine the number ofDex.Futurethat are contained within theDex.FutureSet.
- get_size()¶
- Returns:
the number of
Dex.Futurein 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.Futureposition within the set- Raises:
- Returns:
a
GObject.Valueif successful; otherwiseNoneand error is set.- Return type:
Gets the result from a
Dex.Futurethat is part of theDex.FutureSet.