wip
This commit is contained in:
15
core/job/README.md
Normal file
15
core/job/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
### `Job`
|
||||
Represents a script execution request with:
|
||||
- Unique ID and timestamps
|
||||
- Script content and target worker
|
||||
- Execution settings (timeout, retries, concurrency)
|
||||
- Logging configuration
|
||||
|
||||
### `JobBuilder`
|
||||
Fluent builder for configuring jobs:
|
||||
- `script()` - Set the script content
|
||||
- `worker_id()` - Target specific worker
|
||||
- `timeout()` - Set execution timeout
|
||||
- `build()` - Create the job
|
||||
- `submit()` - Fire-and-forget submission
|
||||
- `await_response()` - Submit and wait for result
|
Reference in New Issue
Block a user