WaitForAcknowledge

fun interface WaitForAcknowledge

Provides an interface for waiting for an acknowledgement.

Functions

Link copied to clipboard
abstract operator fun invoke(cancellationToken: CancellationToken): Boolean

Wait for acknowledgment to be received. Returns true if a positive acknowledgment was received, else false. A cancellationToken can be provided to accommodate cancellation of the invocation.