Closed Zeichen32 closed 5 months ago
This PR allow to create lazy consumers. As a side effect of this PR, you can now start the consumer again, after you have call close().
Closes #50
Example usage:
const sub = rabbit.createConsumer({ // .... lazy: true }, async (msg) => { // ... }) await sub.start();
This PR allow to create lazy consumers. As a side effect of this PR, you can now start the consumer again, after you have call close().
Closes #50
Example usage: