timers

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package timers is implementing setInterval setTimeout and co.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootModule

type RootModule struct{}

RootModule is the global module instance that will create module instances for each VU.

func New

func New() *RootModule

New returns a pointer to a new RootModule instance.

func (*RootModule) NewModuleInstance

func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance

NewModuleInstance implements the modules.Module interface to return a new instance for each VU.

type Timers

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

Timers represents an instance of the timers module.

func (*Timers) Exports

func (e *Timers) Exports() modules.Exports

Exports returns the exports of the k6 module.

Jump to

Keyboard shortcuts

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