awaitAcknowledgement

fun awaitAcknowledgement(canSkipCurrentStep: Boolean, cancellationToken: CancellationToken)

Await an acknowledgment. If canSkipCurrentStep is set true the current step is regarded as one that can be skipped. A cancellationToken must be provided to support cancellation.