Interface IPendingPromise
Interface for a promise that can be rejected or resolved.
Inherited Members
Namespace: RSG
Syntax
public interface IPendingPromise : IRejectable
Properties
Id
ID of the promise, useful for debugging.
Declaration
int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ReportProgress(Single)
Report progress in a promise.
Declaration
void ReportProgress(float progress)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress |
Resolve()
Resolve the promise with a particular value.
Declaration
void Resolve()