QueueResourceCommand

Extends: ESCBaseCommand < Resource

Description

queue_resource path [front_of_queue]

Queues the loading of the given resource into the resource cache.

Parameters

  • path: Path of the resource to cache

  • front_of_queue: Whether to put the resource at the front of the queue in order to load it as soon as possible (default: false)

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array) -> bool

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.