processManager改名,格式问题修改

Signed-off-by: zhangyuhang72 <zhangyuhang72@huawei.com>
Change-Id: I50a23c2b9df24fe9a13bbf976a4146736b0bfcf3
This commit is contained in:
zhangyuhang72 2023-10-07 07:33:11 +00:00
parent 4fe2abd571
commit d6ea980a25
2 changed files with 9 additions and 9 deletions

View File

@ -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
*/

View File

@ -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;