MCPcopy Create free account
hub / github.com/bajrangCoder/setu / MethodDropdown

Class MethodDropdown

src/components/custom_dropdown.rs:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 self.close_epoch = self.close_epoch.wrapping_add(1);
71 let epoch = self.close_epoch;
72 cx.spawn(async move |this, cx| {
73 cx.background_executor()
74 .timer(motion::MENU_OUT.duration)
75 .await;
76 if let Some(this) = this.upgrade() {
77 this.update(cx, |state, cx| {
78 if state.close_epoch == epoch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected