Class DeferredCommand

java.lang.Object
com.google.gwt.user.client.DeferredCommand

@Deprecated public class DeferredCommand extends Object
Deprecated.
Replaced by Scheduler.scheduleDeferred() because the static nature of this API prevents effective mocking for JRE-only tests.
This class allows you to execute code after all currently pending event handlers have completed, using the addCommand(Command) or addCommand(IncrementalCommand) methods. This is useful when you need to execute code outside of the context of the current stack.