Compare commits
2 Commits
7e972a39f9
...
84ba3423e2
Author | SHA1 | Date | |
---|---|---|---|
84ba3423e2 | |||
34ab54ebff |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@navy.gif/wrappers",
|
"name": "@navy.gif/wrappers",
|
||||||
"version": "1.5.4",
|
"version": "1.5.5",
|
||||||
"description": "Various wrapper classes I use in my projects",
|
"description": "Various wrapper classes I use in my projects",
|
||||||
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
|
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
|
||||||
"author": "Navy.gif",
|
"author": "Navy.gif",
|
||||||
|
@ -52,9 +52,9 @@ type InternalQueueMsg = {
|
|||||||
} & InternalMessage
|
} & InternalMessage
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
type Consumer<T = any> = (content: T, msg: ConsumeMessage) => Promise<void>
|
type Consumer<T = any> = (content: T, msg: ConsumeMessage) => Promise<void> | void
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
type Subscriber<T = any> = (content: T, msg: ConsumeMessage) => Promise<void>
|
type Subscriber<T = any> = (content: T, msg: ConsumeMessage) => Promise<void> | void
|
||||||
|
|
||||||
class MessageBroker
|
class MessageBroker
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user