sleep

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "sleep"

Variables

This section is empty.

Functions

func Init

func Init(_ *coremain.BP, args any) (any, error)

func QuickSetup

func QuickSetup(_ sequence.BQ, s string) (any, error)

Types

type Args

type Args struct {
	Duration uint `yaml:"duration"` // (milliseconds) duration for sleep.
}

Args is the arguments of plugin. It will be decoded from yaml. So it is recommended to use `yaml` as struct field's tag.

Jump to

Keyboard shortcuts

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