Functions

Link copied to clipboard
abstract override fun async(callback: Consumer<Result<OUTPUT>>)

Run the action asynchronously, without blocking the calling thread and delivering the result through the callback.

Link copied to clipboard

Return the type of this operation from the values defined in PNOperationType.

Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<OUTPUT>

Allows to override certain configuration options (see PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun retry()

Attempt to retry the action and deliver the result to a callback registered with a previous call to async.

Link copied to clipboard
abstract fun silentCancel()

Cancel the action without reporting any further results.

Link copied to clipboard
abstract fun sync(): OUTPUT

Run the action synchronously, potentially blocking the calling thread.