Trait ori_core::EventSender

source ·
pub trait EventSender: Sendable + 'static {
    // Required method
    fn send_event(&mut self, event: Event);
}
Expand description

An event sender, that can send events to the application.

This is usually implemented by the application shell and should not be implemented by the user.

Required Methods§

source

fn send_event(&mut self, event: Event)

Implementors§