Skip to content

Commit 315b638

Browse files
committed
fix: add stale state to provider state diagram
1 parent d0a87da commit 315b638

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

specification/sections/02-providers.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class MyProvider implements Provider {
190190

191191
#### Requirement 2.4.2
192192

193-
> The `provider` **MAY** define a `status` field/accessor which indicates the readiness of the provider, with possible values `NOT_READY`, `READY`, or `ERROR`.
193+
> The `provider` **MAY** define a `status` field/accessor which indicates the readiness of the provider, with possible values `NOT_READY`, `READY`, `STALE`, or `ERROR`.
194194
195195
Providers without this field can be assumed to be ready immediately.
196196

@@ -206,6 +206,9 @@ stateDiagram-v2
206206
NOT_READY --> READY
207207
READY --> ERROR
208208
ERROR --> READY
209+
READY --> STALE
210+
STALE --> READY
211+
STALE --> ERROR
209212
```
210213

211214
see [provider status](../types.md#provider-status)

0 commit comments

Comments
 (0)