queue

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Overview

package queue provide a universal way of handling queuing and executing tasks

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(slice *[]Task, f func(), delay float64)

func Run

func Run(slice *[]Task, currentTime float64)

Types

type Task

type Task struct {
	F     func()
	Delay float64
}

Jump to

Keyboard shortcuts

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