Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class Publisher(client: RedisClient) extends Actor {
def receive = {
case Publish(channel, message) =>
client.publish(channel, message)
reply(true)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment