EqModelLoader class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new EqModelLoader(context: EqContext): EqModelLoader
Parameters:
Section titled “Parameters:”- context: EqContext
Protected Properties
Section titled “Protected Properties”modelLoadingRejectFunc
Section titled “modelLoadingRejectFunc”● modelLoadingRejectFunc: (reason?: any
) => void
modelLoadingResolveFunc
Section titled “modelLoadingResolveFunc”● modelLoadingResolveFunc: (value?: DataModel | PromiseLike
<DataModel>) => void
modelNeverLoaded
Section titled “modelNeverLoaded”● modelNeverLoaded: boolean
= true
modelPromise
Section titled “modelPromise”● modelPromise: Promise
<DataModel> | null
= null
Public Methods
Section titled “Public Methods”getContext
Section titled “getContext”▸ getContext(): EqContext
Returns EqContext
getModelPromise
Section titled “getModelPromise”Returns the Promise
of the model loading process
▸ getModelPromise(): Promise
<DataModel>
Returns Promise
<DataModel>
▸ init(options: any
): void
Parameters:
Section titled “Parameters:”- options:
any
Returns void
startModelLoading
Section titled “startModelLoading”▸ startModelLoading(options: any
): Promise
<DataModel>
Parameters:
Section titled “Parameters:”- options:
any
Returns Promise
<DataModel>
Protected Methods
Section titled “Protected Methods”createModelLoadingPromise
Section titled “createModelLoadingPromise”▸ createModelLoadingPromise(): void
Returns void
sendLoadModelRequest
Section titled “sendLoadModelRequest”▸ sendLoadModelRequest(options: any
): any
Parameters:
Section titled “Parameters:”- options:
any
Returns any