Instead of ssb.conn.internalConnHub().listen(), perhaps we should do ssb.conn.listen('hub')? Not sure though. This is just an idea. The bigger question is whether we want internalConnHub() to be a public API of ssb-conn, or whether it's only meant for schedulers.
Instead of
ssb.conn.internalConnHub().listen()
, perhaps we should dossb.conn.listen('hub')
? Not sure though. This is just an idea. The bigger question is whether we wantinternalConnHub()
to be a public API of ssb-conn, or whether it's only meant for schedulers.