Mono < Void > delayAsync ( ) { Mono < Void > result = Mono . empty ( ) ; if ( delayInMilliseconds > 0 ) { result = result . delaySubscription ( Duration . ofMillis ( delayInMilliseconds ) ) ; } return result ; }
If this OperationStatus has a retryAfterSeconds value return an Mono that is delayed by the number of seconds that are in the retryAfterSeconds value . If this OperationStatus doesn t have a retryAfterSeconds value then return an Single with no delay .