notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 5b2c8bc45472ef1e36bdedaebb099536aece9a42
parent 0d7b012caf8dc87de5ca6a26f512031b1bd821b9
Author: kernelkind <kernelkind@gmail.com>
Date:   Mon,  2 Feb 2026 13:55:53 -0500

feat(outbox): add `OutboxPool::start_session` helper

Signed-off-by: kernelkind <kernelkind@gmail.com>

Diffstat:
Mcrates/enostr/src/relay/outbox/mod.rs | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/crates/enostr/src/relay/outbox/mod.rs b/crates/enostr/src/relay/outbox/mod.rs @@ -220,6 +220,17 @@ impl OutboxPool { pending_eoses } + pub fn start_session<'a, W>(&'a mut self, wakeup: W) -> OutboxSessionHandler<'a, W> + where + W: Wakeup, + { + OutboxSessionHandler { + outbox: self, + session: OutboxSession::default(), + wakeup, + } + } + pub fn broadcast_note<W>(&mut self, note: &Note, relays: Vec<RelayId>, wakeup: &W) where W: Wakeup,