Categorygithub.com/fairyhunter13/task/v2
modulepackage
2.0.1
Repository: https://github.com/fairyhunter13/task.git
Documentation: pkg.go.dev

# README

بِسْمِ اللّٰهِ الرَّحْمٰنِ الرَّحِيْمِ


السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ


ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ


اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ ، وَعَلَى آلِ مُحَمَّدٍ ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ ، إِنَّكَ حَمِيدٌ مَجِيدٌ ، اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ ، وَعَلَى آلِ مُحَمَّدٍ ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ ، وَعَلَى آلِ إِبْرَاهِيمَ ، إِنَّكَ حَمِيدٌ مَجِيدٌ

Task

Coverage Status CircleCI Go Report Card

Task is a library to manage and execute tasks.

# Functions

NewDefaultOption initialize a new default Option.
NewErrorManager initialize the new error manager.
NewManager initialize the task manager.
NewOption initialize a new Option.
WithBufferSize sets the buffer size of the error manager.
WithPanicHandler adds the option to toggle the panic handler on and off.

# Constants

DefaultBufferSize specifies the default size of channel.

# Structs

ErrorManager contains Manager but especially for error function.
Manager contains all the required tools to manage the task.
Option specifies the option to be used in this package.

# Type aliases

ClosureAnonym defines the anonymous function for the Run argument.
ClosureErr defines closure that returns error.
OptionFunc specifies the optional function for this package.