Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
jleeson committed Dec 30, 2024
1 parent d8e039b commit 68eda51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/firefly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ Firefly supports utilizing an event driven architecture by utilizing the `EventE

You can emit an event and pass any data you would like as the second function argument using the `EventEmitter.emit` method. Additionally in places where the `@Event` decorator is not a viable solution, you can use the `EventEmitter.on` method to define a event listener.

You can utilize `@Injectable` and `@Inject` with dedicated event classes utilizing the `.events.js` file extension.

**Example:**
```js
import { Controller, EventEmitter, Event } from "@outwalk/firefly";
Expand Down

0 comments on commit 68eda51

Please sign in to comment.