await

abstract suspend fun await(): Pair<UUID, MessageContent>?(source)

等待消息被消费,并得到消息的 id 和最终内容。

Return

如果消息为空而被丢弃,返回 null。

Throws