Class PersistentQueue<TValue>
Inheritance
PersistentQueue<TValue>
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class PersistentQueue<TValue> : PersistentStoreBase<TValue>, IAsyncEnumerable<TValue>, IPersistentQueue<TValue>, ICollection, IEnumerable
Type Parameters
Methods
|
Edit this page
View Source
Dequeue()
Declaration
Returns
|
Edit this page
View Source
DequeueAsync()
Declaration
public Task<TValue?> DequeueAsync()
Returns
Type |
Description |
Task<TValue> |
|
|
Edit this page
View Source
Enqueue(TValue)
Declaration
[Obsolete("This method is blocking; please use the async version instead.")]
public void Enqueue(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
|
Edit this page
View Source
EnqueueAsync(TValue)
Declaration
public Task EnqueueAsync(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
Returns
|
Edit this page
View Source
Peek()
Declaration
[Obsolete("This method is blocking; please use the async version instead.")]
public TValue? Peek()
Returns
|
Edit this page
View Source
PeekAsync()
Declaration
public Task<TValue?> PeekAsync()
Returns
Type |
Description |
Task<TValue> |
|
Implements