mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
7 lines
180 B
TypeScript
7 lines
180 B
TypeScript
import { TypedEmitter } from 'tiny-typed-emitter'
|
|
import { Events } from '@/config'
|
|
|
|
const eventBus = new TypedEmitter<Events>()
|
|
eventBus.setMaxListeners(100)
|
|
|
|
export { eventBus }
|