Sha256: e8bc086ccf0e2be83ce07a76ef9af64d54b170fed082cfc97a1951196698a517
Contents?: true
Size: 417 Bytes
Versions: 4
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2020-2023, by Samuel Williams. module Protocol module Redis module Methods module Pubsub # Post a message to a channel. # @see https://redis.io/commands/publish # @param channel [String] # @param message [String] def publish(channel, message) call('PUBLISH', channel, message) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems