Constructors
constructor
- new ApplicationEnv(appConfig: ApplicationEnvConfig): ApplicationEnv
-
Parameters
-
appConfig: ApplicationEnvConfig
Properties
Private
_dataPath
_dataPath: string
Private
_ipcClient
_ipcClient: APIClient
Accessors
dataPath
- get dataPath(): string
-
Returns string
ipcClient
- get ipcClient(): APIClient
-
Returns APIClient
Methods
Private
_initApplication
- _initApplication(appConfig: ApplicationEnvConfig): Application
-
Parameters
-
appConfig: ApplicationEnvConfig
startApplication
- startApplication(): Promise<void>
-
Returns Promise<void>
stopApplication
- stopApplication(options?: {
clearDB: boolean;
}): Promise<void>
-
Parameters
-
options: {
clearDB: boolean;
} = ...
Returns Promise<void>