kordophoned becomes a lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::daemon::{events::Event, signals::Signal, DaemonResult};
|
||||
use kordophoned::daemon::{events::Event, signals::Signal, DaemonResult};
|
||||
use crate::xpc::interface::SERVICE_NAME;
|
||||
use futures_util::StreamExt;
|
||||
use std::collections::HashMap;
|
||||
@@ -58,7 +58,7 @@ impl XpcAgent {
|
||||
/// Send an event to the daemon and await its reply.
|
||||
pub async fn send_event<T>(
|
||||
&self,
|
||||
make_event: impl FnOnce(crate::daemon::events::Reply<T>) -> Event,
|
||||
make_event: impl FnOnce(kordophoned::daemon::events::Reply<T>) -> Event,
|
||||
) -> DaemonResult<T> {
|
||||
let (tx, rx) = oneshot::channel();
|
||||
self.event_sink
|
||||
|
||||
Reference in New Issue
Block a user