Guard long-running adapter implementations
This commit is contained in:
parent
bb13258861
commit
1ef76f0271
11 changed files with 541 additions and 11 deletions
|
|
@ -204,6 +204,13 @@ class IncrementalStateProject(ProjectService, Protocol):
|
|||
def incremental_state(self) -> ProjectState | None: ...
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class RuntimeValidatedProject(ProjectService, Protocol):
|
||||
"""Optional project boundary that proves its loaded implementation is current."""
|
||||
|
||||
def validate_runtime(self) -> None: ...
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class LogicProject(ProjectService, Protocol):
|
||||
"""Optional project boundary exposing logic from its most recent validated load."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue