fix(medusa, types, utils, event-bus-local): Revert retrieveSubscribers (#4002)
* fix(medusa, event-bus-redis, event-bus-local): Revert retrieveSubscribers as the wildcard prevent us from filtering * Create calm-eggs-collect.md --------- Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oliver Windall Juhl
parent
bcaaa0288b
commit
0e488e71b1
@@ -1,15 +1,6 @@
|
||||
import {
|
||||
EmitData,
|
||||
Subscriber,
|
||||
SubscriberContext,
|
||||
SubscriberDescriptor,
|
||||
} from "./common"
|
||||
import { EmitData, Subscriber, SubscriberContext } from "./common"
|
||||
|
||||
export interface IEventBusModuleService {
|
||||
retrieveSubscribers(
|
||||
event: string | symbol
|
||||
): SubscriberDescriptor[] | undefined
|
||||
|
||||
emit<T>(
|
||||
eventName: string,
|
||||
data: T,
|
||||
|
||||
Reference in New Issue
Block a user