Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@akiroz/mqemitter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akiroz/mqemitter - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

35

mqemitter.d.ts

@@ -7,27 +7,24 @@ /* eslint no-unused-vars: 0 */

declare module "mqemitter" {
export interface MQEmitterOptions {
concurrency?: number
matchEmptyLevels?: boolean
separator?: string
wildcardOne?: string
wildcardSome?: string
}
export interface MQEmitterOptions {
concurrency?: number
matchEmptyLevels?: boolean
separator?: string
wildcardOne?: string
wildcardSome?: string
}
export type Message = object & { topic: string }
export type Message = object & { topic: string }
export interface MQEmitter {
current: number
concurrent: number
on(topic: string, listener: (message: Message, done: () => void) => void, callback?: () => void): this
emit(message: Message, callback?: (error?: Error) => void): void
removeListener(topic: string, listener?: (message: Message, done: () => void) => void, callback?: () => void): void
close(callback: () => void): void
}
export default function MQEmitter (options?: MQEmitterOptions): MQEmitter
export interface MQEmitter {
current: number
concurrent: number
on(topic: string, listener: (message: Message, done: () => void) => void, callback?: () => void): this
emit(message: Message, callback?: (error?: Error) => void): void
removeListener(topic: string, listener?: (message: Message, done: () => void) => void, callback?: () => void): void
close(callback: () => void): void
}
export default function MQEmitter (options?: MQEmitterOptions): MQEmitter
{
"name": "@akiroz/mqemitter",
"version": "4.2.1",
"version": "4.2.2",
"description": "An Opinionated Message Queue with an emitter-style API",

@@ -5,0 +5,0 @@ "main": "mqemitter.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc