ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Threading.TDelayedProcedure.CreateAndQueue

Creates an instance of this object and adds it to the global thread pool.

Syntax
Pascal
class function CreateAndQueue(pMethod: TThreadProcedure; const pCancellationToken: ICancellationIndicator): IWorkItem; overload; deprecated;
Parameters 
Description 
pMethod: TThreadProcedure 
The method that should be executed. 
const pCancellationToken: ICancellationIndicator 
A cancellation token. 

A new IWorkItem that will execute the given procedure after a delay.