Documentation ΒΆ
Index ΒΆ
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
This section is empty.
Types ΒΆ
type AsyncJob ΒΆ
type AsyncJob[T any] struct { // contains filtered or unexported fields }
AsyncJob is a representation of AsyncJob processus
func (*AsyncJob[T]) GetWorkers ΒΆ
GetWorkers allows you to retrieve the number of workers
func (*AsyncJob[T]) OnProgress ΒΆ
OnProgress allows you set callback function for ETA
func (*AsyncJob[T]) SetWorkers ΒΆ
SetWorkers allows you to set the number of asynchronous jobs
type Job ΒΆ
type Job[T any] struct { // contains filtered or unexported fields }
Job is a representation of a unitary work
type Progress ΒΆ
type Progress struct {
// contains filtered or unexported fields
}
Progress is a representation of an asynchronous jobs.
func (Progress) EstimateTimeLeft ΒΆ
EstimateTimeLeft is the estimated time left to finish all jobs
Click to show internal directories.
Click to hide internal directories.