com.trendyol.kediatr.NotificationHandler.kt Maven / Gradle / Ivy
package com.trendyol.kediatr
/**
* Interface to be implemented for a non-blocking notification handler
*
* @since 1.0.9
* @param T any [Notification] subclass to handle
* @see Notification
*/
interface NotificationHandler where T : Notification {
/**
* Handles a notification
*
* @param notification the notification to handle
*/
suspend fun handle(notification: T)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy