Constructor
new Progress(handler)
Parameters:
Name | Type | Description |
---|---|---|
handler |
callbackHandler.<T> | a callback to be invoked for every progress reported. If not provided, you may subscribe to the events of this class or use the provided Observable. |
- Source:
Members
last :T
Type:
- T
- Source:
observable
Returns an Rx.Observable that will emit events whenever they
are reported to its subscribers.
- Source:
Methods
reportProgress(progress) → {Progress}
Parameters:
Name | Type | Description |
---|---|---|
progress |
T | the item that represents the progress |
- Source:
Returns:
this
- Type
- Progress