@midwayjs/coreInterfacesISimulation版本:Next本页总览ISimulation Index MethodsappSetupappTearDowncontextSetupcontextTearDownenableConditionsetuptearDownMethods optionalappSetupappSetup(app: IMidwayBaseApplication<Context>): Promise<void>optionalappTearDownappTearDown(app: IMidwayBaseApplication<Context>): Promise<void>optionalcontextSetupcontextSetup(ctx: Context, app: IMidwayBaseApplication<Context>): Promise<void>optionalcontextTearDowncontextTearDown(ctx: Context, app: IMidwayBaseApplication<Context>): Promise<void>enableConditionenableCondition(): boolean | Promise<boolean>optionalsetupsetup(): Promise<void>optionaltearDowntearDown(): Promise<void>