<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def command(self, cmd_name, callback, *args):
 """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 """

        cmd = JLinkCommand(cmd_name, args, callback)
        self._commands.put(cmd)