Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class App
import { App } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Constructors

new
App(
logger: ILogger,
timeUtil: TimeUtil,
localisationService: LocalisationService,
configServer: ConfigServer,
encodingUtil: EncodingUtil,
httpServer: HttpServer,
onLoadComponents: OnLoad[],
onUpdateComponents: OnUpdate[],
)

Properties

protected
configServer: ConfigServer
protected
coreConfig: ICoreConfig
protected
encodingUtil: EncodingUtil
protected
httpServer: HttpServer
protected
localisationService: LocalisationService
protected
logger: ILogger
protected
onLoadComponents: OnLoad[]
protected
onUpdateComponents: OnUpdate[]
protected
onUpdateLastRun: { }
protected
timeUtil: TimeUtil

Methods

protected
logUpdateException(err: any, updateable: OnUpdate): void
protected
update(onUpdateComponents: OnUpdate[]): Promise<void>
load(): Promise<void>