useEventPublish

inline fun <T : Any> useEventPublish(): (T) -> Unit

This hook returns a publish function, use that fun to post a event.

Return

Parameters

T