useEventSubscribe

inline fun <T : Any> useEventSubscribe(noinline subscriber: (T) -> Unit)

Register a subscriber. Note that this subscription function will be removed from the subscription list after the component is uninstalled.

Receiver

Parameters

subscriber
T