Package generic.concurrent
Interface QItemListener<I,R>
- Type Parameters:
I
- The type for the items being processed.R
- The type for result object returned from the QWorkers process method.
public interface QItemListener<I,R>
Callback for when items have completed processing. It is also called if an item is cancelled
or had an error condition.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
itemProcessed
(QResult<I, R> result) Callback for when a item has completed processing, regardless of whether or not the item process normally, was cancelled, or encountered an error during processing.
-
Method Details
-
itemProcessed
Callback for when a item has completed processing, regardless of whether or not the item process normally, was cancelled, or encountered an error during processing.- Parameters:
result
- the QResult object.
-