Skip to content

Commit 2f3f071

Browse files
add isReady state in dispatcher
1 parent 0c24808 commit 2f3f071

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestjstools/messaging",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Simplifies asynchronous and synchronous message handling with support for buses, handlers, channels, and consumers. Build scalable, decoupled applications with ease and reliability.",
55
"author": "Sebastian Iwanczyszyn",
66
"license": "MIT",

src/consumer/consumer-message-dispatcher.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ import { ConsumerMessage } from './consumer-message';
22

33
export interface ConsumerMessageDispatcher {
44
dispatch(message: ConsumerMessage): void;
5+
6+
isReady(): boolean;
57
}

0 commit comments

Comments
 (0)