Persistate API documentation
TryPeek Method (item)
NamespacesPersistate.UtilBlockingQueue<(Of <(<'T>)>)>TryPeek(T%)

[This is preliminary documentation and is subject to change.]

Attempts to obtain the object at the head of the BlockingQueue without removing it. Does not throw an exception if the queue is empty.
Declaration Syntax
C#
public bool TryPeek(
	out T item
)
Parameters
item (T%)
Returns with the object on the head of the queue, or default(T) if the queue is empty.
Return Value
True if there is an object returned in the item parameter, false if the queue is empty.

Assembly: Persistate.Util (Module: Persistate.Util) Version: 0.6.1.20 (0.6.1.20)