diff --git a/api/@ohos.worker.d.ts b/api/@ohos.worker.d.ts index 70479f6e9726ce571ebf5cd2292afa9bc5909662..7a4a51a6d224672915888ebe981fe65eab40bfe7 100644 --- a/api/@ohos.worker.d.ts +++ b/api/@ohos.worker.d.ts @@ -166,7 +166,25 @@ export enum ThreadWorkerPriority { * @atomicservice * @since 18 */ - IDLE = 3 + IDLE = 3, + + /** + * Deadline priority, corresponding to QOS_DEADLINE_REQUEST. + * + * @syscap SystemCapability.Utils.Lang + * @atomicservice + * @since 20 + */ + DEADLINE = 4, + + /** + * Vip priority, corresponding to QOS_USER_INTERACTIVE. + * + * @syscap SystemCapability.Utils.Lang + * @atomicservice + * @since 20 + */ + VIP = 5 } /**