WaitCommand

Extends: ESCBaseCommand < Resource

Description

wait seconds

Blocks execution of the current event.

Parameters

  • seconds: Number of seconds to block

@ESC

Property Descriptions

timer

var timer: Timer

Timer to wait for

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> var

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.