kod...
This commit is contained in:
parent
c926bfa00c
commit
32ce397b69
@ -1,8 +0,0 @@
|
||||
For all prompts:
|
||||
- if you need to understand what project does, feel free to walk over files and analyze them
|
||||
|
||||
Common recommendations:
|
||||
- dont write unnesesary comments if code is obvious
|
||||
|
||||
Recommendations on golang code style:
|
||||
- avoid iota
|
||||
@ -169,12 +169,7 @@ abstract class IPCCommon {
|
||||
}
|
||||
};
|
||||
try {
|
||||
this.sendMsg({
|
||||
type: MsgType.Call,
|
||||
id,
|
||||
method,
|
||||
params,
|
||||
});
|
||||
this.sendMsg({type: MsgType.Call, id, method, params});
|
||||
} catch (e) {
|
||||
delete this.pendingCalls[id];
|
||||
reject(new Error(`send call: ${e}`));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user