Fix multiple typos in medusa docs (#5854)
This commit is contained in:
@@ -59,7 +59,7 @@ The exported configuration object of type `SubscriberConfig` must include the fo
|
||||
|
||||
### Subscriber Handler Function
|
||||
|
||||
The default-export of the subscriber file is a handler function that is executed when the events specified in the exported configuration is triggerd.
|
||||
The default-export of the subscriber file is a handler function that is executed when the events specified in the exported configuration is triggered.
|
||||
|
||||
The function accepts a parameter of type `SubscriberArgs`, which has the following properties:
|
||||
|
||||
@@ -88,7 +88,7 @@ If you don't pass a subscriber ID to the subscriber configurations, the name of
|
||||
|
||||
## Caveats for Local Event Bus
|
||||
|
||||
If you use the `event-bus-local` as your event bus sevice, note the following:
|
||||
If you use the `event-bus-local` as your event bus service, note the following:
|
||||
|
||||
- The `subscriberId` passed in the context is overwritten to a random ID when using `event-bus-local`. So, setting the subscriber ID in the context won't have any effect in this case.
|
||||
- The `eventName` passed to the handler function will be `undefined` when using `event-bus-local` as it doesn't pass the event name properly.
|
||||
|
||||
Reference in New Issue
Block a user