Searched refs:backgroundTask (Results 1 – 10 of 10) sorted by relevance
175 private backgroundTask: request.agent.Task | undefined = undefined;240 this.backgroundTask = await request.agent.create(this.context, this.config);245 await this.backgroundTask.start();250 if (this.backgroundTask === undefined) {253 await this.backgroundTask.pause();259 if (this.backgroundTask === undefined) {262 await this.backgroundTask.resume();
15 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…100 112 116 148 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
46 - [合理运行后台任务](reasonable-running-backgroundTask.md)
34 …s-task.md)<!--Del-->,[长时任务开发示例](../../performance/reasonable-running-backgroundTask.md#长时任务)<!--De…
179 private backgroundTask: request.agent.Task | undefined = undefined;247 this.backgroundTask = await request.agent.create(this.context, this.config);254 await this.backgroundTask.start();261 if (this.backgroundTask === undefined) {264 await this.backgroundTask.pause();272 if (this.backgroundTask === undefined) {275 await this.backgroundTask.resume();
24 - [Reasonably Running Background Tasks](reasonable-running-backgroundTask.md)
17 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…102 114 118 150 …_app_samples/blob/master/code/Performance/PerformanceLibrary/feature/backgroundTask/src/main/ets/v…
34 …nuous Task Development Example](../../performance/reasonable-running-backgroundTask.md#continuous-…
641 TaskAction backgroundTask = [this]() { in ActivateBackgroundVacuumTaskExecution() local646 int errCode = RuntimeContext::GetInstance()->ScheduleTask(backgroundTask); in ActivateBackgroundVacuumTaskExecution()
1707 - [合理运行后台任务](performance/reasonable-running-backgroundTask.md)