pub fn subscribe( &mut self, sub: Box< dyn Address<Wf, Error=ThesErr> > )
	{
		let mut subs = self.subscribers.lock();

		subs.insert( sub.id(), sub );
	}
/// Subscribe a relay before handing off this PubSub to Peer. If you want to be able
/// to add new subscribers during runtime, use [`PubSub::rt_subscribe`].
//
Subscribe a relay before handing off this PubSub to Peer. If you want to be able
to add new subscribers during runtime, use [`PubSub::rt_subscribe`].
Subscribe a relay before handing off this PubSub to Peer . If you want to be able to add new subscribers during runtime use [ ` PubSub :: rt_subscribe ` ] .
pub fn subscribe( &mut self, sub: Box< dyn Address<Wf, Error=ThesErr> > )
	{
		let mut subs = self.subscribers.lock();
		subs.insert( sub.id(), sub );
	}
pub fn subscribe ( & mut self , sub : Box < dyn Address < Wf , Error = ThesErr > > ) { let mut subs = self . subscribers . lock ( ) ; subs . insert ( sub . id ( ) , sub ) ; }
Subscribe a relay before handing off this PubSub to Peer.
Subscribe a relay before handing off this PubSub to Peer .
&mut self
sub
Box< dyn Address<Wf, Error=ThesErr> >
&mut self
sub
Box< dyn Address<Wf, Error=ThesErr> >