enqueue
abstract fun <Success : Any> enqueue(cmd: TorCmd.Unprivileged<Success>, onFailure: OnFailure, onSuccess: OnSuccess<Success>): EnqueuedJob(source)
Adds the cmd to the queue.
NOTE: If the returned EnqueuedJob gets cancelled, onFailure will be invoked with CancellationException indicating normal behavior.
NOTE: If the returned EnqueuedJob gets interrupted, onFailure will be invoked with InterruptedException. This can occur when the Processor implementation is shutdown and the job is awaiting execution.