Fix multiple typos in medusa docs (#5854)

This commit is contained in:
Sajarin M
2023-12-13 10:51:48 +00:00
committed by GitHub
parent 07107f3565
commit 4710c8ba7e
22 changed files with 42 additions and 42 deletions
@@ -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.