diff --git a/specification.json b/specification.json index 1064f1af..bf4d8cd8 100644 --- a/specification.json +++ b/specification.json @@ -852,14 +852,14 @@ { "id": "Requirement 5.3.4", "machine_id": "requirement_5_3_4", - "content": "If the provider's `on context changed` executes with mismatched contexts, `PROVIDER_STALE` handlers MUST run.", + "content": "When the provider's `on context changed` is called, `PROVIDER_STALE` handlers MUST run.", "RFC 2119 keyword": "MUST", "children": [] }, { "id": "Requirement 5.3.5", "machine_id": "requirement_5_3_5", - "content": "If the provider's `on context changed` function successfully updates the cache, `PROVIDER_READY` handlers MUST run.", + "content": "If the provider's `on context changed` function terminates successfully, `PROVIDER_READY` handlers MUST run.", "RFC 2119 keyword": "MUST", "children": [] }, diff --git a/specification/sections/05-events.md b/specification/sections/05-events.md index 2cc2e1fe..0e539dd3 100644 --- a/specification/sections/05-events.md +++ b/specification/sections/05-events.md @@ -140,13 +140,13 @@ See [provider initialization](./02-providers.md#24-initialization) and [setting #### Requirement 5.3.4 -> If the provider's `on context changed` executes with mismatched contexts, `PROVIDER_STALE` handlers **MUST** run. +> When the provider's `on context changed` is called, `PROVIDER_STALE` handlers **MUST** run. See: [provider events](#51-provider-events), [`provider event types`](../types.md#provider-events) #### Requirement 5.3.5 -> If the provider's `on context changed` function successfully updates the cache, `PROVIDER_READY` handlers **MUST** run. +> If the provider's `on context changed` function terminates successfully, `PROVIDER_READY` handlers **MUST** run. See: [provider events](#51-provider-events), [`provider event types`](../types.md#provider-events)