Infinityc.ProgressRequest¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The current number of finished operations |
||
r |
The total number of operations |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Infinityc.ProgressRequest(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Infinityc.ProgressRequest
is an opaque data type. You should only access it via the public API functions.- get_initiated()¶
- Returns:
Whether the request was initiated.
- Return type:
Returns whether the request was initiated, i.e. the total number of items is known.
- initiated(total)¶
- Parameters:
total (
int
) – The total number of items.
Initiates the request. A progress request is considered initiated as soon as the total number of items is known.
- progress()¶
Indicates that one more operation has been performed and changes the
Infinityc.ProgressRequest
:current
property accordingly. The request must be initiated before this function can be called.
Property Details¶
- Infinityc.ProgressRequest.props.current¶
-
The current number of finished operations