VisorStore
Extends
Constructors
Constructor
new VisorStore(): VisorStore;
Returns
VisorStore
Overrides
Properties
| Property | Type | Inherited from |
|---|---|---|
logger | Logger | AbstractStore.logger |
Accessors
activeMetaData
initialized
Inherited from
loadingDirectives
name
Get Signature
get name(): string;
Returns
string
Inherited from
Methods
clearTimeout()
clearTimeout(): void;
Returns
void
getAverageStatus()
getAverageStatus(): LoadingDirectiveState;
Returns
getControls()
getControls(): AbstractSetting<AbstractSettingOptions>[];
Returns
AbstractSetting<AbstractSettingOptions>[]
Inherited from
getDirectives()
getDirectives(): VisorLoadingDirective[];
Returns
getLatestMessage()
getLatestMessage(): string;
Returns
string
getLoadingPercentage()
getLoadingPercentage(): number;
Returns
number
getMetadata()
getMetadata(key): VisorMetadata;
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
init()
init(): Promise<void>;
Returns
Promise<void>
Inherited from
isLoading()
isLoading(): boolean;
Returns
boolean
loadingDirective()
loadingDirective(message): VisorLoadingDirective;
Parameters
| Parameter | Type |
|---|---|
message | string |
Returns
popLoadingDirective()
popLoadingDirective(): void;
Returns
void
pushLoadingDirective()
pushLoadingDirective(directive): void;
Parameters
| Parameter | Type |
|---|---|
directive | VisorLoadingDirective |
Returns
void
registerActiveMetadata()
registerActiveMetadata(metaData): void;
Parameters
| Parameter | Type |
|---|---|
metaData | VisorMetadata |
Returns
void
setLogger()
setLogger(logger): void;
Parameters
| Parameter | Type |
|---|---|
logger | Logger |
Returns
void
Inherited from
waitForReady()
waitForReady(): Promise<void>;
Returns
Promise<void>
Inherited from
wrap()
Call Signature
wrap<T>(message, cb): Promise<T>;
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
message | string |
cb | (directive) => Promise<T> |
Returns
Promise<T>
Call Signature
wrap<T, L>(directive, cb): Promise<T>;
Type Parameters
| Type Parameter |
|---|
T |
L extends VisorLoadingDirective |
Parameters
| Parameter | Type |
|---|---|
directive | L |
cb | (directive) => Promise<T> |
Returns
Promise<T>