ShellBrowser Delphi Components Documentation
ContentsIndexHome
ICancellationIndicator Methods
ICancellationIndicator Methods
 
Name 
Description 
 
Gets whether cancellation has been requested for this token. 
Jam.Threading.ITerminatable
 
Name 
Description 
 
This method should terminate the work done by this item  
Jam.Threading.IWorkItem
 
Name 
Description 
 
Returns the class type of the workitem, Implemented automatically by TObject.Classtype.  
 
The method that actually does the work. This method should always be thread safe 
 
Is called by the TWorkerThreadPool after DoWork() has finished. 
 
Getter for the OnWorkDone event.  
 
Returns the current status of the work item, like running or finished.  
 
Getter for the Tag property.  
 
Setter for the OnWorkDone event.  
 
Allows set the status of a worlk item and e.g. to pause it.  
 
Waits until the workitem has finished its work and then returns.