Skip to content

Commit ea14154

Browse files
author
Stephan Dilly
committed
add todo
1 parent d50e17b commit ea14154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ pub trait Component {
164164
) -> CommandBlocking;
165165

166166
/// returns true if event propagation needs to end (event was consumed)
167+
//TODO: lets introduce an enum `EventState` as `enum EventState { Consumed, NotConsumed }` instead of bool
167168
fn event(&mut self, ev: Event) -> Result<bool>;
168169

169170
///

0 commit comments

Comments
 (0)