Proton DotNet
|
Represents a scheduled item of work that will be run on the event loop either once or on a repeating basis. The task allows for easy cancelation and for asynchronous awaits via the return completion Task. More...
Public Member Functions | |
bool | Cancel () |
Request to cancel the scheduled task if possible, returns true if the task was canceled before it ran, false otherwise. If the Task is a periodic variant then all future executions are cancelled as well. | |
Represents a scheduled item of work that will be run on the event loop either once or on a repeating basis. The task allows for easy cancelation and for asynchronous awaits via the return completion Task.
bool Apache.Qpid.Proton.Client.Concurrent.IScheduledTask.Cancel | ( | ) |
Request to cancel the scheduled task if possible, returns true if the task was canceled before it ran, false otherwise. If the Task is a periodic variant then all future executions are cancelled as well.