Interface IMonitorableQueue<T>
A queue with events for enqueue and dequeue operations for monitoring.
Namespace: Reaqtive
Assembly: Reaqtive.Interfaces.dll
Syntax
public interface IMonitorableQueue<out T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of items in the queue. |
Properties
QueueSize
The size of the queue.
Declaration
int QueueSize { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Events
Dequeued
Event raised before dequeueing. The argument is the dequeued item.
Declaration
event Action<T> Dequeued
Event Type
| Type | Description |
|---|---|
| System.Action<T> |
Enqueueing
Event raised before dequeueing. The argument is the enqueued item.
Declaration
event Action<T> Enqueueing
Event Type
| Type | Description |
|---|---|
| System.Action<T> |