Script

class Script(descriptor: AssetBundle.ScriptBundle, index: SortedSet<Int>?) : ServerAsset

Describes a JavaScript asset which is embedded in a given Elide application, and described by Elide's protocol buffer structures; when read from the application bundle and interpreted, this class is used to hold script info.

Parameters

descriptor

Script-type settings bundle describing this asset.

index

Index of the content payload, within the live asset bundle, corresponding to this script.

Constructors

Link copied to clipboard
constructor(descriptor: AssetBundle.ScriptBundle, index: SortedSet<Int>?)