Thruway\ClientSession::publish PHP Method

publish() public method

Publish
public publish ( string $topicName, array | mixed $arguments = null, array | mixed $argumentsKw = null, array | mixed $options = null ) : Promise
$topicName string
$arguments array | mixed
$argumentsKw array | mixed
$options array | mixed
return React\Promise\Promise
    public function publish($topicName, $arguments = null, $argumentsKw = null, $options = null)
    {
        return $this->peer->getPublisher()->publish($this, $topicName, $arguments, $argumentsKw, $options);
    }