mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Remove outdated todo comment
This commit is contained in:
parent
212574a80b
commit
3a35abab9e
@ -585,10 +585,7 @@ impl Discoverer for Public {
|
||||
let bridge = REMOTE_AGENTS_POOL.with(|pool| {
|
||||
let mut pool = pool.borrow_mut();
|
||||
match pool.entry::<RemoteAgent<AGN>>() {
|
||||
anymap::Entry::Occupied(mut entry) => {
|
||||
// TODO(#945): Insert callback!
|
||||
entry.get_mut().create_bridge(callback)
|
||||
}
|
||||
anymap::Entry::Occupied(mut entry) => entry.get_mut().create_bridge(callback),
|
||||
anymap::Entry::Vacant(entry) => {
|
||||
let slab: Shared<Slab<Option<Callback<AGN::Output>>>> =
|
||||
Rc::new(RefCell::new(Slab::new()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user