// All AsyncQueue instances will execute all callbacks
// synchronously by default
Y.AsyncQueue().defaults().timeout(-1);
final AsyncQueue aq = Y.newAsyncQueue().add(aqItem).add(aqItem2).add(aqItem3);
ta.set("text", "indexOf A = " + aq.indexOf("aq1"));
EventCallback<AsyncQueueEvent> callback1 = new EventCallback<AsyncQueueEvent>() {
@Override
public void call(AsyncQueueEvent e) {
console.log("Event type: " + e.type(), "", "");