NMV 0.8.0 - Big refactor and linting fixes

This commit is contained in:
Casper Warden
2025-01-17 23:37:54 +00:00
parent 3870861b0a
commit 53659008ac
210 changed files with 17588 additions and 18300 deletions

View File

@@ -6,7 +6,7 @@ export class NetworkCommands extends CommandsBase
{
private throttleGenCounter = 0;
async setBandwidth(total: number): Promise<void>
public async setBandwidth(total: number): Promise<void>
{
const agentThrottle: AgentThrottleMessage = new AgentThrottleMessage();
agentThrottle.AgentData = {
@@ -46,6 +46,6 @@ export class NetworkCommands extends CommandsBase
Throttles: throttleData
};
const sequenceNo = this.circuit.sendMessage(agentThrottle, PacketFlags.Reliable);
return await this.circuit.waitForAck(sequenceNo, 10000);
return this.circuit.waitForAck(sequenceNo, 10000);
}
}