Setuav Studio Developer Documentation 1.0
SDK and plugin development reference for Setuav Studio
Loading...
Searching...
No Matches
setuav_studio_sdk.tasks.CancellationToken Class Reference

Token passed to task callbacks to inspect cancellation and report progress. More...

Inherits Protocol.

Collaboration diagram for setuav_studio_sdk.tasks.CancellationToken:

Public Member Functions

bool is_cancelled (self)
 True if cancellation was requested for this task.
 
None check_cancelled (self)
 Raise TaskCancelledError if cancellation was requested.
 
None report_progress (self, int current, int total, str message="")
 Report execution progress back to the manager.
 

Detailed Description

Token passed to task callbacks to inspect cancellation and report progress.