public interface ISyncWorker<RESULT_TYPE,PROGRESS_TYPE>
Modifier and Type | Method and Description |
---|---|
RESULT_TYPE |
work(IWorkerProgressCallback<PROGRESS_TYPE> progressCallback,
ICancelCallback cancelCallback)
Do the work and return the result
|
RESULT_TYPE work(IWorkerProgressCallback<PROGRESS_TYPE> progressCallback, ICancelCallback cancelCallback)
progressCallback
- can be used to provide progress information during workcancelCallback
- The cancel callback to check if work progress has been canceledSiehe auch Jowidgets Nutzerhandbuch