setMeta

fun setMeta(key: String, value: Any): Any?

Deprecated

I think Event class constructor is more useful than this system.

Sets a metadata key-value pair.

Parameters

key

The key of the metadata.

value

The value of the metadata.