We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4fe99 commit f098774Copy full SHA for f098774
1 file changed
about/best-practices.md
@@ -368,7 +368,7 @@ Handling synchronous requests vs asynchronous event messages:
368
```js [Handling sync Requests]
369
class CatalogService { async init() {
370
this.on ('SubmitOrder', req => { // sync action request
371
- const { book, quantity } = msg.data // process it...
+ const { book, quantity } = req.data // process it...
372
})
373
}}
374
```
0 commit comments