Skip to content

Commit

Permalink
📝 Document event deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
clabe45 committed Jul 17, 2023
1 parent 077a053 commit 987906c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Check out [the user docs](https://etrojs.dev/docs/intro) for a high-level overvi

### Events

> Events were deprecated in v0.10.0 in favor of async methods with callbacks.
Events emitted by Etro objects use a [pub/sub system](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern). To emit an event, use `event.publish(target, type, event)`. For instance,

```js
Expand Down

0 comments on commit 987906c

Please sign in to comment.