package
1.0.30
Repository: https://github.com/dunv/connectiontools.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new TaskQueue default options: - no retry - no backoff - keep status reports for 1 day.
Configure exponential backoff (if tasks are retried) Default is no backoff.
Pass a context to a task.
Pass a default priority for tasks individual priorities (relative to this one) can be passed when queuing a task Default is 1000.
Pass a channel, which gets notified if a task has returned an error.
A task will be retried this amount of times Default is no retry.
Pass a priority for a task TODO: find concept for separating options for the whole queue and individual tasks.
Pass a channel, which gets notified if a task has been completed successfully.
Configure retention of statusReports (default is 1 day).
Pass a timeout Default is no timeout.
Enable a "sanity-check" routine which runs next to a task and logs, if the task is running longer than its timeout Default is no checker interval.

# Structs

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

# Interfaces

No description provided by the author

# Type aliases

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