package
0.8.32
Repository: https://github.com/comcast/plax.git
Documentation: pkg.go.dev

# Functions

NewTask creates a new Task.
Parallel calls the set of tasks in parallel using the given context.
ParallelWithTimeout calls the set of tasks in parallel using the given context with timeout.
Sequential calls the set of tasks in sequential order using the given context.
SequentialWithTimeout calls the set of tasks in sequential order using the given context with timeout.

# Constants

TaskReturnEmptyResult indicates an empty function return.
TaskReturnErrorOnly indicates an function that returns an error only.
TaskReturnResultAndError indicates a function that return both an interface{} and error result.
TaskReturnResultOnly indicates a function that return a interface{} result only.

# Structs

Task structure contains task function reflection information, position in results, and the return type.
TaskFunc is a function that returns nothing (empty), an error, or a result and error.
TaskResult has the task Error or Result.

# Type aliases

TaskResults is as an array of TaskResult.