Compare commits

..

2 Commits

Author SHA1 Message Date
84ba3423e2
v1.5.5 2023-07-17 20:36:34 +03:00
34ab54ebff
update typing 2023-07-17 20:36:14 +03:00
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.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",

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> 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
{ {