new ipcs principle

This commit is contained in:
MathieuG-P
2022-06-25 03:48:45 +02:00
parent f0eb9bcd9e
commit e2c232002f
3 changed files with 55 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export interface IpcRequest<T>{
args?: T,
responceChannel?: string
}
export interface IpcResponse<T>{
data?: T,
error?: any,
success: boolean,
}