publishedEvent

fun publishedEvent(name: String, body: Any = emptyMap<String, Any>(), revision: Int = 1): PublishedEvent

An event of a stream another context publishes that the handler has no api class of at its revision, as it receives it: its full name (<context>.<aggregate>.<event>), revision and body as JSON text, an empty object by default.