[Overview][Types][Classes][Index] |
Pops the next item from the queue.
Source position: lazcollections.pas line 111
public function TLazThreadedQueue.PopItem( |
out AItem: T |
):TWaitResult; |
AItem |
|
Item removed from the queue. |
Contains the status for the dequeue request.
PopItem is a TWaitResult function used remove the next item available in the thread-safe queue. PopItem calls the PopItemTimeout method using the value in the PopTimeout property as an argument.
AItem is an output variable that is updated with the item removed from the queue in the method.
The return value contains a TWaitResult enumeration value that indicates the status for the dequeue request. See TWaitResult for more information about enumeration values and their meanings.
|
Pops an item off the queue with a timeout value. |
|
Version 4.0 | Generated 2025-05-03 | Home |