toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
useEventPublish
use
Event
Publish
@
Composable
inline
fun
<
T
:
Any
>
useEventPublish
(
)
:
(
T
)
->
Unit
This hook returns a publish function, use that fun to post a event.
Return
Parameters
T