mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
more
This commit is contained in:
parent
08ba799d23
commit
f860714b2b
9 changed files with 64 additions and 24 deletions
|
|
@ -21,3 +21,8 @@ await channel.sendToQueue('consume-queue-1415', Buffer.from('STOP'));
|
|||
console.log('Sent STOP message to queue');
|
||||
|
||||
await consumePromise;
|
||||
|
||||
console.log('Received STOP!');
|
||||
|
||||
await channel.close();
|
||||
await connection.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue