Searched refs:register_listener (Results 1 – 3 of 3) sorted by relevance
80 fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener() method132 pub(crate) fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener() method133 self.registry.register_listener(event_id) in register_listener()188 let first = registry.register_listener(0); in smoke()189 let second = registry.register_listener(1); in smoke()190 let third = registry.register_listener(2); in smoke()229 registry.register_listener(1); in register_panics_on_invalid_input()245 let first = registry.register_listener(0); in broadcast_returns_if_at_least_one_event_fired()246 let second = registry.register_listener(1); in broadcast_returns_if_at_least_one_event_fired()
86 let rx = globals().register_listener(signum as EventId); in new()
369 Ok(globals().register_listener(kind.0 as EventId)) in signal_with_handle()