mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
processManager改名,格式问题修改
Signed-off-by: zhangyuhang72 <zhangyuhang72@huawei.com> Change-Id: I50a23c2b9df24fe9a13bbf976a4146736b0bfcf3
This commit is contained in:
parent
4fe2abd571
commit
d6ea980a25
@ -14,19 +14,19 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* The class of process.
|
||||
* The class of child process.
|
||||
* Child process to be started can inherit this class.
|
||||
*
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 11
|
||||
*/
|
||||
export default class Process {
|
||||
export default class ChildProcess {
|
||||
|
||||
/**
|
||||
* Called when the process is started.
|
||||
* Called when the child process is started.
|
||||
*
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 11
|
||||
*/
|
@ -13,16 +13,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AsyncCallback } from './@ohos.base';
|
||||
import type { AsyncCallback } from './@ohos.base';
|
||||
|
||||
/**
|
||||
* This module provides the capability to start and manage child process.
|
||||
*
|
||||
* @namespace processManager
|
||||
* @namespace childProcessManager
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @since 11
|
||||
*/
|
||||
declare namespace processManager {
|
||||
declare namespace childProcessManager {
|
||||
|
||||
/**
|
||||
* Enum for the process start mode.
|
||||
@ -81,4 +81,4 @@ declare namespace processManager {
|
||||
|
||||
}
|
||||
|
||||
export default processManager;
|
||||
export default childProcessManager;
|
Loading…
Reference in New Issue
Block a user