API reference
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
valueTWhen this method returns, contains the object removed from the beginning of the LavalinkQueue<T>, or the default value of
Tif the queue is empty.