push

abstract suspend fun push(message: QueueMessage, queueType: QueueType = EXECUTOR)

Pushes a message to the specified queue.

Parameters

message

The message to be pushed to the queue.

queueType

The type of the queue to which the message will be pushed. Defaults to QueueType.EXECUTOR.