mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor: create ipc command class
This commit is contained in:
1 parent
65cefa3712
commit
e2f3098b7e
1 file changed
+6
@@ -0,0 +1,6 @@
|
||||
export class IpcCommand {
|
||||
constructor(public id: string, public callback: () => void) {
|
||||
this.id = id;
|
||||
this.callback = callback;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user