scheduler

package
v0.0.0-...-50debf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TasksScheduler

type TasksScheduler struct {
	// contains filtered or unexported fields
}

func NewTasksScheduler

func NewTasksScheduler() *TasksScheduler

func (*TasksScheduler) ScheduleTask

func (ts *TasksScheduler) ScheduleTask(taskFn func(taskId uuid.UUID, taskName string), timeInSeconds int, taskName string)

func (*TasksScheduler) ShutdownAllTasks

func (ts *TasksScheduler) ShutdownAllTasks()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL