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

redis.commands.Publish.scala Maven / Gradle / Ivy

The newest version!
package redis.commands

import redis.{ByteStringSerializer, Request}
import scala.concurrent.Future
import redis.api.publish.{Publish => PublishCommand}

trait Publish extends Request {
  def publish[V: ByteStringSerializer](channel: String, value: V): Future[Long] =
    send(PublishCommand(channel, value))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy