package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewEvent is the constructor of an Event.
NewQueue returns an empty Queue.
No description provided by the author
NewThresholdEvent is the constructor for the ThresholdEvent.
NewThresholdEventConfiguration creates a ThresholdEventConfiguration from the given Options.
No description provided by the author
No description provided by the author
ThresholdEventFromBytes unmarshals a collection of BranchIDs from a sequence of bytes.
ThresholdEventFromMarshalUtil unmarshals a ThresholdEvent using a MarshalUtil (for easier unmarshaling).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitForChannelClosed waits until the channel is closed or the context is done.
WithCallbackTypeCaster sets the method that is used to type cast the called callbacks to their correct types.
WithIdentifierParser sets the parser for the ThresholdEventIdentifier that is used to identify different entities.
WithThresholds sets the thresholds that are supposed to be used for the Triggers.

# Constants

ThresholdLevelDecreased indicates that the new value is smaller than the passed threshold.
ThresholdLevelIncreased indicates that the new value is larger than the passed threshold.
ThresholdLevelMaintained indicates that the reached threshold did not change.

# Structs

No description provided by the author
Event represents an object that is triggered to notify code of "interesting updates" that may affect its behavior.
Queue represents an Event.
No description provided by the author
ThresholdEvent is a data structure that acts like a normal event but only triggers when the value that was reported using the Set method causes the corresponding identifier to reach a new threshold.
ThresholdEventConfiguration represents a collection of optional parameters that are used by the ThresholdEvent.

# Type aliases

ThresholdEventCallbackTypecaster defines the signature of the function that is used to convert the parameters to the types expected by the callbacks.
ThresholdEventIdentifier is the type that is used to address the identifiers of the entities whose values we are tracking.
ThresholdEventIdentifierParser defines the signature of the function that is used to parse the Identifiers.
ThresholdEventOption is the type of the optional parameters of the ThresholdEvent.
ThresholdEventTransition is the type of the values that are used to indicate in which direction a threshold was passed.