From e935c2326a1c593e4918bf774b6139a542eaeefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?xgroleau=F0=9F=90=A2?= Date: Thu, 14 Sep 2023 15:17:21 -0400 Subject: [PATCH] feat: updated request address to use the request manager --- ector/src/actor.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ector/src/actor.rs b/ector/src/actor.rs index 4f16565..20f0219 100644 --- a/ector/src/actor.rs +++ b/ector/src/actor.rs @@ -162,7 +162,7 @@ where pub type DynamicAddress = DynamicSender<'static, M>; /// Type alias over a [DynamicAddress] using a [Request] as message -pub type DynamicRequestAddress = DynamicSender<'static, Request>; +pub type DynamicRequestAddress = RequestManager>, M, R>; /// A handle to another actor for dispatching messages. /// @@ -171,7 +171,8 @@ pub type DynamicRequestAddress = DynamicSender<'static, Request>; pub type Address = Sender<'static, MUT, M, N>; /// Type alias over a [Address] using a [Request] as message -pub type RequestAddress = Sender<'static, MUT, Request, N>; +pub type RequestAddress = + RequestManager, MUT, N>, M, R, MUT>; pub struct Request where