OnSuccess
An alias of ItBlock indicating a callback for something occurring successfully.
NOTE: Exceptions should not be thrown within the OnSuccess lambda. If OnSuccess is being utilized with TorRuntime
APIs, it will be treated as an UncaughtException and dispatched to RuntimeEvent.ERROR observers.
See also
Functions
Link copied to clipboard
@JvmStatic
@JvmName(name = "immediateSuccessJob")
Creates a EnqueuedJob which immediately invokes OnSuccess with the provided response.