1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

fix: Remove reference to custom emitted event since we're not doing that anymore

This commit is contained in:
Simmon Hornby 2021-11-19 12:03:41 +02:00
parent 23590313ac
commit 33cd3e46f1

View File

@ -66,16 +66,16 @@ unleash.on('update', () => {
### Tracking user interactions with events
The Unleash client emits events every time a feature toggle's state is
queried. It exposes three types of events that you can hook into:
queried. It exposes two types of events that you can hook into:
1. `is-enabled` is emitted whenever you use the `isEnabled` call.
2. `get-variant` is emitted whenever you use the `getVariant` call.
3. `custom` is ... not emitted yet.
These events are exported as members of the `EVENTS` enum from the proxy client:
1. `EVENTS.IS_ENABLED`
2. `EVENTS.GET_VARIANT`
3. `EVENTS.CUSTOM`
#### Event shape