signal

abstract fun signal(message: Any, channel: String): SignalBuilder

Send a signal to all subscribers of a channel.

By default, signals are limited to a message payload size of 30 bytes. This limit applies only to the payload, and not to the URI or headers. If you require a larger payload size, please contact support.

Return

SignalBuilder

Parameters

message

The payload

channel

The channel to signal message to.


abstract fun signal(): Signal

Deprecated

Use signal(Object, String) instead

Replace with

signal(message, channel)

Send a signal to all subscribers of a channel.

By default, signals are limited to a message payload size of 30 bytes. This limit applies only to the payload, and not to the URI or headers. If you require a larger payload size, please contact support.