Method TryDequeue
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
TryDequeue(out T)
Attempts to remove and return the object at the beginning of the LavalinkQueue<T>.
public bool TryDequeue(out T value)
Parameters
value
TWhen this method returns, contains the object removed from the beginning of the LavalinkQueue<T>, or the default value of
T
if the queue is empty.