MCPcopy Create free account
hub / github.com/Moosync/Moosync / send_extension_event

Function send_extension_event

src/utils/extensions.rs:23–35  ·  view source on GitHub ↗
(args: ExtensionExtraEvent)

Source from the content-addressed store, hash-verified

21
22#[tracing::instrument(level = "debug", skip(args))]
23pub fn send_extension_event(args: ExtensionExtraEvent) {
24 spawn_local(async move {
25 let res = send_extra_event(ExtensionExtraEventArgs {
26 data: args,
27 package_name: "".into(),
28 })
29 .await;
30
31 if let Err(e) = res {
32 tracing::error!("Failed to send extension event: {:?}", e);
33 }
34 });
35}

Callers 4

AudioStreamFunction · 0.85
update_timeMethod · 0.85
set_stateMethod · 0.85
set_volumeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected