Interface IPollingTaskStatusDisplayer
This interface is for the client being able to display the progress of an executing IServerTask by polling for the status/progress change. Typically only done with a remotely executing task.
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks
Assembly: ClientCore.dll
Syntax
public interface IPollingTaskStatusDisplayer : ITaskStatusDisplayer
Methods
RunMonitoring(Action)
Indicates the tracker should start monitoring the status of the executing task
Declaration
Task RunMonitoring(Action onTaskEnded)
Parameters
Type | Name | Description |
---|---|---|
System.Action | onTaskEnded | Called whenever the tracker detects the task has stopped executing for one reason or another. Stops the monitoring as well. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
StopMonitoring()
Indicates the tracker should stop monitoring the status of the executing task
Declaration
void StopMonitoring()