UNPKG

@xmobitea/gn-server

Version:

GearN Server by XmobiTea (Pro)

16 lines (15 loc) 672 B
import { DefaultApplicationStartup } from "./DefaultApplicationStartup"; import { OnRunSuccess } from "./../GN-library/xbuilder/lib/OnRunSuccess"; export declare class ServerApplicationStartup extends DefaultApplicationStartup { private gnConfig; /** * Applies the provided configuration. * @param gnConfig Provides the GearN configuration value used by this operation. */ config(gnConfig: {}): void; /** * Normalizes bootstrap config, applies local defaults, and starts the runtime application. * @param onRunSuccess Provides the callback executed after a successful startup. */ run(onRunSuccess?: OnRunSuccess): void; }