Class: RequesterOptions

(package) rune.resource.RequesterOptions(data)

The RequesterOptions class represents the settings that can be applied to a Requester object. The class is internal to the resource package and can therefore only be instantiated via the Requester class.

Constructor

(package) new RequesterOptions(data)

Instances a new RequesterOptions object.
Parameters:
Name Type Description
data Object Loader options.
Source:

Members

(package) batch :rune.resource.Requests

Represents a "batch" of resource files in the form of a Requests object.
Type:
Source:

(package) onAbort :function

Executed when the Requester object interrupts all loading of requested files.
Type:
  • function
Source:

(package) onComplete :function

Executed when a file in the current batch has been successfully loaded.
Type:
  • function
Source:

(package) onError :function

Executed when loading of a requested file fails.
Type:
  • function
Source:

(package) onProgress :function

Executed when a requested file from the current "batch" has been successfully completed.
Type:
  • function
Source:

(package) scope :Object

Scope of execution, ie within which object scope callback functions are to be executed.
Type:
  • Object
Source: