package
0.0.0-20220322211447-83cf9715cfa7
Repository: https://github.com/husio/lith.git
Documentation: pkg.go.dev

# Functions

Delay configures task execution to be postponed by given delay value.
NewRegistry returns a task registry that binds together task payloads and handlers.
OpenTaskQueue returns a task queue store implementation.
Retry configures how many failed task execution is repeated before it gets removed from the queue and pushed into the dead letter queue storage.
Timeout configures how long a task processing can be running before its context is cancelled.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

RecordingScheduler implements scheduler interface and records all scheduled tasks.
Registry binds together task payloads and handlers.
No description provided by the author
Task represents a single task (job) acquired from the queue.
TaskReq represents a task creation request.

# Interfaces

Handler is implemented in order to handler particular Payload type.
Payload is implemented by any task that can be scheduled for execution.
No description provided by the author

# Type aliases

ScheduleOption allows to configure how a task should be scheduled.