Skip to content

Commit

Permalink
fixup: more clarity
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert authored Dec 9, 2023
1 parent 021bd33 commit 16d4120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specification/sections/05-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ See [provider initialization](./02-providers.md#24-initialization), [setting a p

Providers built to conform to the static context paradigm feature an additional `PROVIDER_CONTEXT_CHANGED` event, which is used to signal that the global context has been changed, and flags should be re-evaluated.
This can be particularly useful for triggering UI repaints in multiple components when one component updates the [evaluation context](./03-evaluation-context.md).
SDK implementations automatically fire the the `PROVIDER_CONTEXT_CHANGED` events if the `on context changed` handler terminates normally (and `PROVIDER_ERROR` events otherwise).
Optionally, some providers may transition to a the `STALE` state while their associated context is waiting to be reconciled, since this may involve asynchronous operations such as network calls.

```mermaid
Expand Down

0 comments on commit 16d4120

Please sign in to comment.