Function cosmic::iced::event::listen_raw
source ยท pub fn listen_raw<Message>(
f: fn(_: Event, _: Status, _: Id) -> Option<Message>,
) -> Subscription<Message>where
Message: 'static + MaybeSend,
Expand description
Creates a Subscription
that produces a message for every runtime event,
including the redraw request events.
Warning: This Subscription
, if unfiltered, may produce messages in
an infinite loop.