summaryrefslogtreecommitdiffstats
path: root/lib/src/reactor/ctrl.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-20 09:29:35 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-12-20 09:29:35 +0100
commita23b897b5c3c9ee721b793e26401d1863d97f84e (patch)
treed22a4fb5735bc72704f2622a4748ec3ba5c6189e /lib/src/reactor/ctrl.rs
parent860177170ce583be7c7d86d8d81fdc6a7c402dc4 (diff)
parent5a58021581187d11fb26d0de9d19514e6383956f (diff)
Merge branch 'gossipping-gui'
Diffstat (limited to 'lib/src/reactor/ctrl.rs')
-rw-r--r--lib/src/reactor/ctrl.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/src/reactor/ctrl.rs b/lib/src/reactor/ctrl.rs
deleted file mode 100644
index a32f1c3..0000000
--- a/lib/src/reactor/ctrl.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-use tokio::sync::mpsc::UnboundedSender as Sender;
-use tokio::sync::mpsc::UnboundedReceiver as Receiver;
-
-/// Type for sending messages to a reactor
-pub type ReactorSender<Request, Reply> = Sender<(Request, ReplySender<Reply>)>;
-
-/// Type that is used by a reactor for receiving messages
-pub type ReactorReceiver<Request, Reply> = Receiver<(Request, ReplySender<Reply>)>;
-
-/// Type that represents the channel that has to be send with a request to a reactor for getting an
-/// answer back
-pub type ReplySender<Reply> = Sender<Reply>;
-
-pub type ReplyReceiver<Reply> = Receiver<Reply>;
-