feat: with nats

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-24 00:44:18 +02:00
parent 0a78124489
commit 6db03e37cb
8 changed files with 841 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ use std::{collections::BTreeMap, pin::Pin};
use async_trait::async_trait;
use crunch_traits::{errors::TransportError, EventInfo, Transport};
use futures::Stream;
use tokio::sync::broadcast::{Receiver, Sender};
use tokio::sync::broadcast::Sender;
use tokio_stream::{wrappers::BroadcastStream, StreamExt};
#[derive(Clone)]