package
Version:
v0.0.0-...-6e5b399
Opens a new window with list of versions in this module.
Published: Feb 22, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package state implements the agent state. This is a separate
package to enforce access to a limited public API.
State contains the agent state for the lifetime of one drone UUID
assignment.
New creates a new instance of agent state.
SetExpiration sets a new expiration time. Note that if the
expiration already fired, this does nothing.
UUID returns the drone UUID.
WithExpire sets up the delayable expiration context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.