stopGracefully

abstract fun stopGracefully(): Mono<Void>

Stops accepting work and completes once the accepted work is written. The runtime subscribes on its lifecycle threads, so a blocking flush is allowed. After a force stop the runtime no longer waits for it.