Skip to content

Commit

Permalink
fix: add stale state to provider state diagram
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bond <[email protected]>
  • Loading branch information
federicobond committed Oct 24, 2023
1 parent d0a87da commit 260c7f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specification/sections/02-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class MyProvider implements Provider {

#### Requirement 2.4.2

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

Expand All @@ -206,6 +206,9 @@ stateDiagram-v2
NOT_READY --> READY
READY --> ERROR
ERROR --> READY
READY --> STALE
STALE --> READY
STALE --> ERROR
```

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

0 comments on commit 260c7f8

Please sign in to comment.