DelayedCall delayCall(Function action, num delay)

This is a convenience method that creates a DelayedCall and adds it to this juggler. See DelayedCall for more details.

Example:

// Delay the call of action by 5.0 seconds.
juggler.delayCall(action, 5.0);

Source

DelayedCall delayCall(Function action, num delay) {
  DelayedCall delayedCall = new DelayedCall(action, delay);
  add(delayedCall);
  return delayedCall;
}