code: def command(self, cmd_name, callback, *args):
          
          cmd = JLinkCommand(cmd_name, args, callback)
          self._commands.put(cmd)
docs: Run an asynchronous command.
  
          Args:
              cmd_name (int): The unique code for the command to execute.
              callback (callable): The optional callback to run when the command finishes.
                  The signature should be callback(cmd_name, result, exception)
              *args: Any arguments that are passed to the underlying command handler