diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/module_queue.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/module_queue.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,182 @@ + + + + + API: queue (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

queue  3.0.0b1

+ Yahoo! UI Library + > queue + + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ + +

Module: queue + + + +

+
+

The Queue module adds a common data structure for FIFO operations. In its +simplest form, it is little more than an array wrapper. Additional +submodules introduce more functionality such as promotion and removal of +queued items.

+

An AsyncQueue class is provided in the queue-run submodule. This class +affords a mechanism to do complex sequential and iterative callback +execution across configured timeouts. +

+ + + +
+
+ +

This module contains the following classes:

+ +
+ +
+
+
+
+

Submodules:

+
+
queue-run
+

Adds a new class AsyncQueue that is restricted to function callbacks, but +includes a host of additional features, including events, callback +iterations, and a run() method that can execute queued callbacks in order, +even across configured timeouts.

+
queue-promote
+
Adds methods promote, remove, and indexOf to Queue instances.
+
queue-base
+
A simple FIFO queue. Items are added to the Queue with add(1..n items) and +removed using next().
+
+
+ +
+
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +