ThreadSafeListTRemoveAndWait Method

Removes an item from the list. This method will block until the item has successfully been removed and will no longer show up in the iterator. DO NOT call this function from within a ForEach loop as it will block indefinately since the for each loop reads all items.

Definition

Namespace: SnapDB.Threading
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool RemoveAndWait(
	T item
)

Parameters

item  T
The item to remove from the list.

Return Value

Boolean
true if the item was successfully removed; otherwise, false.

See Also