staltz / ssb-room

A server to find and connect to other SSB peers – a meeting place. AGPL-3.0
GNU Affero General Public License v3.0
109 stars 17 forks source link

onStart callback is missing for server() #15

Closed ghost closed 3 years ago

ghost commented 3 years ago

From https://github.com/ssb-js/multiserver/blob/7d47892757c14732b47662d81e36dd21f3c16b6b/compose.js#L84

There should be a callback , called with null when the server started to listen.

If it's missing, the multicb() here would never be done. And ssb-server's "multiserver:listening" event won't be emitted.