class InsuranceCallbacks
implements OnUpdate
import { InsuranceCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/InsuranceCallbacks.d.ts";
Constructors
new
InsuranceCallbacks(insuranceController: InsuranceController,
insuranceService: InsuranceService,
httpResponse: HttpResponseUtil,
configServer: ConfigServer,
Properties
protected
configServer: ConfigServerprotected
httpResponse: HttpResponseUtilprotected
insuranceConfig: IInsuranceConfigprotected
insuranceController: InsuranceControllerprotected
insuranceService: InsuranceServiceMethods
Handle client/insurance/items/list/cost
getRoute(): string
Handle Insure event
onUpdate(secondsSinceLastRun: number): Promise<boolean>