utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForEventFile

func WaitForEventFile(eventPath string, timeout time.Duration) error

WaitForEventFile polls until the given event file exists or the timeout elapses.

Types

type AtomicBool

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

AtomicBool is a thread-safe boolean backed by atomic int32 operations.

func (*AtomicBool) Get

func (ab *AtomicBool) Get() bool

func (*AtomicBool) Set

func (ab *AtomicBool) Set(value bool)

Jump to

Keyboard shortcuts

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