mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
Modity the systemapi for RestrictedWorker.
issue: https://gitee.com/openharmony/interface_sdk-js/issues/IARP5D Signed-off-by: Han <yqhanj@isoftstone.com>
This commit is contained in:
parent
42fe88342c
commit
eb89619641
4
api/@ohos.worker.d.ts
vendored
4
api/@ohos.worker.d.ts
vendored
@ -2125,7 +2125,7 @@ declare namespace worker {
|
||||
*
|
||||
* @extends ThreadWorker
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @atomicservice
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
class RestrictedWorker extends ThreadWorker {
|
||||
@ -2155,7 +2155,7 @@ declare namespace worker {
|
||||
* @throws { BusinessError } 10200003 - Worker initialization failure.
|
||||
* @throws { BusinessError } 10200007 - The worker file patch is invalid path.
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @atomicservice
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
constructor(scriptURL: string, options?: WorkerOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user