Skip to main content
Deno 2 is finally here 🎉️
Learn more
class ModCallbacks
implements OnLoad
import { ModCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/ModCallbacks.d.ts";

Constructors

new
ModCallbacks(
logger: ILogger,
httpResponse: HttpResponseUtil,
httpFileUtil: HttpFileUtil,
postAkiModLoader: PostAkiModLoader,
localisationService: LocalisationService,
configServer: ConfigServer,
)

Properties

protected
configServer: ConfigServer
protected
httpConfig: IHttpConfig
protected
httpFileUtil: HttpFileUtil
protected
httpResponse: HttpResponseUtil
protected
localisationService: LocalisationService
protected
logger: ILogger
protected
postAkiModLoader: PostAkiModLoader

Methods

getRoute(): string
onLoad(): Promise<void>