pub fn use_reactor_subscription<'hook, R>() -> impl 'hook + Hook<Output = UseReactorSubscriptionHandle<R>>where
R: 'static + Reactor + 'hook,
Expand description
A hook to subscribe to the outputs of a Reactor agent.
All outputs sent to current bridge will be collected into a slice.
ยงNote
When used in function components and hooks, this hook is equivalent to:
pub fn use_reactor_subscription<R>() -> UseReactorSubscriptionHandle<R>
where
R: 'static + Reactor,
{
/* implementation omitted */
}