Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async press (isYes: boolean): Promise {
let decision = new ProtoMessages.DebugLinkDecision()
decision.setYesNo(isYes)
await this.transport.callDebugLink(
ProtoMessages.MessageType.MESSAGETYPE_DEBUGLINKDECISION,
decision,
DEFAULT_TIMEOUT,
/*omitLock=*/false,
/*noWait=*/true
)
}
}
public async press (isYes: boolean): Promise {
let decision = new Messages.DebugLinkDecision()
decision.setYesNo(isYes)
await this.transport.callDebugLink(
Messages.MessageType.MESSAGETYPE_DEBUGLINKDECISION,
decision,
DEFAULT_TIMEOUT,
/*omitLock=*/false,
/*noWait=*/true
)
}