We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa6ce3 commit e49cee5Copy full SHA for e49cee5
1 file changed
omnievent/src/grpc.rs
@@ -18,6 +18,12 @@ pub struct OmniEventServiceImpl<MP, DB> {
18
event_manager: Arc<EventManager<MP, DB>>,
19
}
20
21
+impl<MP, DB> OmniEventServiceImpl<MP, DB> {
22
+ pub fn new(event_manager: Arc<EventManager<MP, DB>>) -> Self {
23
+ Self { event_manager }
24
+ }
25
+}
26
+
27
#[tonic::async_trait]
28
impl<MP, DB> OmniEventService for OmniEventServiceImpl<MP, DB>
29
where
0 commit comments