Skip to main content

should_route

Function should_route 

Source
fn should_route(event: &SlackEvent, channel_id: &str) -> bool
Expand description

True when a SlackEvent should be routed to the reactive bus: right event type, right channel, not self-authored. Pure/testable without a real socket.