This repository was archived by the owner on Jul 31, 2020. It is now read-only.
This repository was archived by the owner on Jul 31, 2020. It is now read-only.
client.execute() doesn't respect the discard parameter #110
Open
Description
Using the following method on the client:
public execute(method: string, params: any, discard: boolean): Promise<any> {
return this.socket.execute(method, params, discard);
}
When setting discard=true
as in the following example:
client.execute('setBandwidthThrottle', {
"giveInput": {
"capacity": 0,
"drainRate": 0
}
}, true).then(/*something*/)
I get the following error (the id is auto-generated and changes every time):
Error: Expected to get event reply:266995642
When I change discard=false
the error goes away.
Metadata
Metadata
Assignees
Labels
No labels