setResult

fun setResult(result: T)

Sets the result of the event.

Parameters

result

The result to set.