package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package periodic is part of github.com/riteshRcH/go-edge-device-lib/goprocess.
Package ratelimit is part of github.com/riteshRcH/go-edge-device-lib/goprocess.

# Functions

Background returns the "bgProcess" Process: a statically allocated process that can _never_ close.
Go is much like `go`: it runs a function in a newly spawned goroutine.
GoChild is like Go, but it registers the returned Process as a child of parent, **before** spawning the goroutine, which ensures proper synchronization with parent.
WithParent constructs and returns a Process with a given parent.
WithSignals returns a Process that will Close() when any given signal fires.
WithTeardown constructs and returns a Process with a TeardownFunc.

# Variables

Spawn is an alias of `Go`.
SpawnChild is an alias of `GoChild`.

# Interfaces

Process is the basic unit of work in goprocess.

# Type aliases

ProcessFunc is a function that takes a process.
TeardownFunc is a function used to cleanup state at the end of the lifecycle of a Process.