rsvp

package
v0.0.0-...-134e172 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: GPL-3.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNodesPerMinute = uint16(300)
	DefaultNodesPerCycle  = uint8(1)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Rsvp

type Rsvp struct {
	Settings RsvpStateSettings
	State    *reactive.State[RsvpState]
}

func New

func New() *Rsvp

func (*Rsvp) JumpToCheckpoint

func (r *Rsvp) JumpToCheckpoint(checkpoint uint32)

func (*Rsvp) JumpToEnd

func (r *Rsvp) JumpToEnd()

func (*Rsvp) JumpToStart

func (r *Rsvp) JumpToStart()

func (*Rsvp) SkipBackward

func (r *Rsvp) SkipBackward()

func (*Rsvp) SkipFoward

func (r *Rsvp) SkipFoward()

func (*Rsvp) StreamNodes

func (r *Rsvp) StreamNodes(input string) (<-chan node.Node, <-chan error)

type RsvpEvent

type RsvpEvent string
const (
	EventStateChanged RsvpEvent = "rsvp::stateChanged"
)

type RsvpState

type RsvpState struct {
	Nodes      []node.Node
	Checkpoint uint32
	IsRunning  bool
	IsFinished bool
}

type RsvpStateSettings

type RsvpStateSettings struct {
	NodesPerMinute uint16
	NodesPerCycle  uint8
}

Jump to

Keyboard shortcuts

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