Add Geary.Nonblocking.Queue.is_empty.
This commit is contained in:
parent
0d64fdaa6b
commit
8988a571bc
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ public class Geary.Nonblocking.Queue<G> : BaseObject {
|
|||
/** Returns the number of items currently in the queue. */
|
||||
public int size { get { return queue.size; } }
|
||||
|
||||
/** Determines if any items are in the queue. */
|
||||
public bool is_empty { get { return queue.is_empty; } }
|
||||
|
||||
/**
|
||||
* Determines if duplicate items can be added to the queue.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue