hero/core/job
Timur Gordon 8ed40ce99c wip
2025-08-01 00:01:08 +02:00
..
src wip 2025-08-01 00:01:08 +02:00
.gitignore initial commit 2025-07-29 01:15:23 +02:00
Cargo.toml initial commit 2025-07-29 01:15:23 +02:00
README.md wip 2025-08-01 00:01:08 +02:00

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