code: @SuppressWarnings("unchecked")
    public T dequeue(String name) {
      for (Element e : elements()) {
        dequeueCurrentAndRunNext(e, name);
      }
      return (T) this;
    }
docs: Removes a queued function from the front of the named queue and executes it.