bree
bree copied to clipboard
[Docs] Fix example for event listening
trafficstars
This PR is fixing the example about the event listening part.
bree.worker is undefined, it should be replaced with bree.workers.
Checklist
- [x] I have ensured my pull request is not behind the main or master branch of the original repository.
- [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
- [x] I have written a commit message that passes commitlint linting.
- [x] I have ensured that my code changes pass linting tests.
- [x] I have ensured that my code changes pass unit tests.
- [x] I have described my pull request and the reasons for code changes along with context if necessary.