FlowAsyncOperation

interface FlowAsyncOperation<R : Any>

Interface for arbitrary operations that can be invoked in a flow asynchronously - the flow will suspend until the operation completes. Operation parameters are expected to be injected via constructor.

Inheritors

Properties

Link copied to clipboard

Returns a name of the external operation implementation considering that it can wrapped by WrappedFlowExternalAsyncOperation or WrappedFlowExternalOperation

Functions

Link copied to clipboard
abstract fun execute(deduplicationId: String): CordaFuture<R>

Performs the operation in a non-blocking fashion.