From 0dae943b83c28205497fad9207a757445bf83e93 Mon Sep 17 00:00:00 2001 From: pragmaxim Date: Sun, 23 Jun 2024 10:28:39 +0200 Subject: [PATCH] tokio-mutex --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7acd26f..e2a5881 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ in parallel. Note that consumers usually have some `State` or `Database` so they ```rust use futures::stream; use std::sync::{Arc, RwLock}; +use tokio::sync::Mutex; use broadcast_sink::{Consumer, StreamBroadcastSinkExt}; #[derive(Debug)]