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

com.malliina.push.PushClient.scala Maven / Gradle / Ivy

There is a newer version: 1.24.4
Show newest version
package com.malliina.push

import scala.concurrent.Future

/**
  * @tparam S type of token
  * @tparam T type of message
  * @tparam U type of response
  */
trait PushClient[S, T, U] {
  def push(id: S, message: T): Future[U]
  def pushAll(ids: Seq[S], message: T): Future[Seq[U]]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy