font change
This commit is contained in:
1 parent
6c3cac7381
commit
00cb224fb3
7 files changed
+104
-33
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ async function start() {
|
||||
notify,
|
||||
} = createServices(log);
|
||||
|
||||
await notify.connect();
|
||||
await notify.listen();
|
||||
|
||||
api.listen();
|
||||
}
|
||||
|
||||
+2
-2
@@ -45,7 +45,7 @@ export default function createNotify(log: Log, pg: Pg, events) {
|
||||
subscriber.notifications.on(LISTINGS_CHANNEL, handleListings);
|
||||
subscriber.notifications.on(WANTS_CHANNEL, handleWants);
|
||||
|
||||
async function connect() {
|
||||
async function listen() {
|
||||
await subscriber.connect();
|
||||
await Promise.all([
|
||||
subscriber.listenTo(OFFERS_CHANNEL),
|
||||
@@ -55,5 +55,5 @@ export default function createNotify(log: Log, pg: Pg, events) {
|
||||
]);
|
||||
}
|
||||
|
||||
return { connect };
|
||||
return { listen };
|
||||
}
|
||||
Reference in new issue
Block a user