ScheduledCommandAdapter class
Adapter of ScheduledCommand calling function in execute method passed through constructor.
class ScheduledCommandAdapter implements ScheduledCommand {
Function _function;
ScheduledCommandAdapter(this._function);
/**
* Invokes the command.
*/
void execute() {
_function();
}
}
Implements
Constructors
Methods
void execute() #
Invokes the command.
void execute() {
_function();
}