Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed May 2, 2024
1 parent 51cd132 commit b076e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/maple_core/src/stdio_server/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ impl ProviderSession {
let mut on_move_timer = DebounceTimer::new(Duration::from_millis(200));
let mut on_typed_timer = DebounceTimer::new(Duration::from_millis(debounce_delay));

// TODO: this does not fully resolve the problem, find another solution.
// Text input from users could be overloaded in a short period of time, e.g., OnMove
// and OnTyped can be too frequent if user types too fast, in which case we observe
// the receiver side of unbounded channel may not be able to receive the events in time,
Expand Down

0 comments on commit b076e33

Please sign in to comment.