Compare commits

..

No commits in common. "84ba3423e236cc6af2411f179c3ac88069d0af38" and "7e972a39f95db8a8703a68cdbb1f7d23422c5b43" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@navy.gif/wrappers", "name": "@navy.gif/wrappers",
"version": "1.5.5", "version": "1.5.4",
"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",

View File

@ -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> | void type Consumer<T = any> = (content: T, msg: ConsumeMessage) => Promise<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> | void type Subscriber<T = any> = (content: T, msg: ConsumeMessage) => Promise<void>
class MessageBroker class MessageBroker
{ {