mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 18:00:36 +00:00
add readme and keep only stubs
This commit is contained in:
parent
0a98415e25
commit
9cf349a263
12 changed files with 328 additions and 1109 deletions
|
|
@ -127,7 +127,20 @@ class Scheduler(Protocol):
|
|||
...
|
||||
|
||||
async def initialize(self) -> None:
|
||||
"""Initialize the scheduler (connect to backend, etc.)"""
|
||||
"""
|
||||
Initialize the scheduler (connect to backend, load persisted jobs).
|
||||
|
||||
Note: Does NOT start processing jobs. Call start() after all executors are registered.
|
||||
"""
|
||||
...
|
||||
|
||||
async def start(self) -> None:
|
||||
"""
|
||||
Start processing jobs after all executors are registered.
|
||||
|
||||
This resumes any incomplete jobs from storage. Must be called after initialize()
|
||||
and after all job executors have been registered via register_job_executor().
|
||||
"""
|
||||
...
|
||||
|
||||
async def shutdown(self) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue