{ "ns" : "http://zorba.io/modules/queue", "description" : " Implementation of queue for items, using dynamic collections.
\n Entries in the queue must be structured items - that is, either JSON\n Objects or Arrays, or XML Nodes.
\n", "sees" : [ ], "authors" : [ "
\n", "summary" : "
Return the last item in the queue (the last added), without removing it.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n If destination queue does not exist, it is created first.
\n If destination queue is not empty, the items are appended last.
\n", "summary" : "
Copy all items from source queue to a destination queue.
", "annotation_str" : " %ann:sequential", "annotations" : [ { "prefix" : "ann", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "destName", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Create a queue with the name given.
", "annotation_str" : " %ann:sequential", "annotations" : [ { "prefix" : "ann", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Checks if a queue exists and is empty.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Return the first item in the queue (the first added), without removing it.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Return the first item in the queue, and remove it.
", "annotation_str" : " %ann:sequential", "annotations" : [ { "prefix" : "ann", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Add a new item to the queue; the queue will contain a copy of the given item.
", "annotation_str" : " %ann:sequential", "annotations" : [ { "prefix" : "ann", "ns" : "http://zorba.io/annotations", "name" : "sequential", "value" : "" } ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "\n", "summary" : "
Count of items in the queue.
", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "name", "type" : "xs:QName", "occurence" : null, "description" : "