Add remove channel method
Move test client fields into appstate and fix tests Co-authored-by: max <max@zed.dev>
This commit is contained in:
parent
56d4d5d1a8
commit
74437b3988
15 changed files with 534 additions and 256 deletions
|
@ -575,7 +575,10 @@ impl Client {
|
|||
}),
|
||||
);
|
||||
if prev_handler.is_some() {
|
||||
panic!("registered handler for the same message twice");
|
||||
panic!(
|
||||
"registered handler for the same message {} twice",
|
||||
std::any::type_name::<M>()
|
||||
);
|
||||
}
|
||||
|
||||
Subscription::Message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue