File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -319,20 +319,20 @@ export class IpcRendererWorker {
319
319
320
320
/**
321
321
* 向进程发送用户退出消息
322
- * @param params 退出的参数
322
+ * @param message 退出的消息,用以给process做一些处理,可以是null
323
323
* @returns promise process收到消息后给renderer的回调promise
324
324
*/
325
- exit ( params : any = null ) : Promise < any > {
326
- return this . sendPromise ( ExtensionRendererMessageTopic . USER_EXIT , params ) ;
325
+ exit ( message : any = null ) : Promise < any > {
326
+ return this . sendPromise ( ExtensionRendererMessageTopic . USER_EXIT , message ) ;
327
327
}
328
328
329
329
/**
330
330
* 向进程发送获取属性的消息
331
- * @param params 获取属性需要的参数,可以为null
331
+ * @param message 获取属性需要的消息,用以给process做一些处理,可以是null
332
332
* @returns promise process收到消息后给renderer的回调promise
333
333
*/
334
- getProperty ( params : any = null ) : Promise < any > {
335
- return this . sendPromise ( ExtensionRendererMessageTopic . GET_PROPERTY , params ) ;
334
+ getProperty ( message : any = null ) : Promise < any > {
335
+ return this . sendPromise ( ExtensionRendererMessageTopic . GET_PROPERTY , message ) ;
336
336
}
337
337
338
338
}
You can’t perform that action at this time.
0 commit comments