All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.smallrye.reactivemessaging.Extensions.kt Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.quarkus.smallrye.reactivemessaging

import kotlinx.coroutines.future.await
import org.eclipse.microprofile.reactive.messaging.Emitter
import org.eclipse.microprofile.reactive.messaging.Message

suspend fun  Message.ackSuspending() = ack().await()

suspend fun  Message.nackSuspending(t: Throwable) = nack(t).await()

suspend fun  Emitter.sendSuspending(t: T) = send(t).await()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy