signal

abstract fun signal(message: Any, customMessageType: String? = null): Signal

Send a signal to all subscribers of the 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.

Parameters

message

The payload which will be serialized and sent.

customMessageType

The custom type associated with the message.