mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-17 14:29:56 +02:00
add more docs, fix minor bug on dialog registration
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
namespace OS {
|
||||
export namespace PM {
|
||||
export type ProcessType = application.BaseApplication | application.BaseService;
|
||||
export type ProcessTypeClass = {
|
||||
export type ModelTypeClass = {
|
||||
new <T extends BaseModel>(args: AppArgumentsType[]): T;
|
||||
};
|
||||
export var pidalloc: number = 0;
|
||||
@ -17,7 +17,7 @@ namespace OS {
|
||||
*/
|
||||
export function createProcess(
|
||||
app: string,
|
||||
cls: ProcessTypeClass,
|
||||
cls: ModelTypeClass,
|
||||
args?: AppArgumentsType[]
|
||||
): Promise<ProcessType> {
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
Reference in New Issue
Block a user