The signals are essentially ordinary messages with the only difference that they are sent to all consumers who are currently active in the channel. Also, signals cannot be replicated to other servers. Message limits also apply to signals. The operation scheme of sending and receiving the signal is shown in the image

Sending a signal
Receiving a signal

use SimQ\Producer;

$producer = new Producer( 'localhost', 4012, 'groupName', 'channelName', 'login', 'password' );
$producer->sendSignal( 'signal' );
2023 © i@trusow.ru