Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Module name: ohos.taskpool Class name: taskpool |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Priority |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Priority Method or attribute name: HIGH |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Priority Method or attribute name: MEDIUM |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Priority Method or attribute name: LOW |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Task |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Task Method or attribute name: constructor(func: Function, ...args: unknown[]); |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Task Method or attribute name: function: Function; |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: Task Method or attribute name: arguments?: unknown[]; |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: taskpool Method or attribute name: function execute(func: Function, ...args: unknown[]): Promise |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: taskpool Method or attribute name: function execute(task: Task, priority?: Priority): Promise |
@ohos.taskpool.d.ts |
Added | NA | Module name: ohos.taskpool Class name: taskpool Method or attribute name: function cancel(task: Task): void; |
@ohos.taskpool.d.ts |
Added | NA | Class name: URLParams Method or attribute name: constructor(init?: string[][] | Record<string, string> | string | URLParams); |
@ohos.url.d.ts |
Added | NA | Class name: URL Method or attribute name: readonly params: URLParams; |
@ohos.url.d.ts |
Deprecated version changed | Class name: URL Method or attribute name: readonly searchParams: URLSearchParams; Deprecated version: N/A |
Class name: URL Method or attribute name: readonly searchParams: URLSearchParams; Deprecated version: 9 Substitute API: ohos.url.URL.params |
@ohos.url.d.ts |
Deprecated version changed | Class name: worker Method or attribute name: const parentPort: DedicatedWorkerGlobalScope; Deprecated version: N/A |
Class name: worker Method or attribute name: const parentPort: DedicatedWorkerGlobalScope; Deprecated version: 9 Substitute API: ohos.worker.workerPort |
@ohos.worker.d.ts |
Initial version changed | Class name: URL Method or attribute name: static parseURL(url: string, base?: string | URL): URL; Initial version: N/A |
Class name: URL Method or attribute name: static parseURL(url: string, base?: string | URL): URL; Initial version: 9 |
@ohos.url.d.ts |
Initial version changed | Class name: worker Method or attribute name: const parentPort: DedicatedWorkerGlobalScope; Initial version: N/A |
Class name: worker Method or attribute name: const parentPort: DedicatedWorkerGlobalScope; Initial version: 7 |
@ohos.worker.d.ts |
Initial version changed | Class name: worker Method or attribute name: const workerPort: ThreadWorkerGlobalScope; Initial version: N/A |
Class name: worker Method or attribute name: const workerPort: ThreadWorkerGlobalScope; Initial version: 9 |
@ohos.worker.d.ts |
Function changed | Class name: DedicatedWorkerGlobalScope Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent |
Class name: DedicatedWorkerGlobalScope Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void; |
@ohos.worker.d.ts |
Function changed | Class name: DedicatedWorkerGlobalScope Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent |
Class name: DedicatedWorkerGlobalScope Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void; |
@ohos.worker.d.ts |
Function changed | Class name: Worker Method or attribute name: onmessage?: (event: MessageEvent |
Class name: Worker Method or attribute name: onmessage?: (event: MessageEvent) => void; |
@ohos.worker.d.ts |
Function changed | Class name: Worker Method or attribute name: onmessageerror?: (event: MessageEvent |
Class name: Worker Method or attribute name: onmessageerror?: (event: MessageEvent) => void; |
@ohos.worker.d.ts |