Documentation
¶
Overview ¶
Package notify contains the distributed notify node: it atomically increments a durable release signal shared with wait nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Signal string `json:"signal"`
CacheKeys string `json:"cacheKeys"`
SignalTTLSeconds interface{} `json:"signalTTLSeconds"`
}
Config holds the notify node configuration.
type Node ¶
Node increments distributed release signals.
func (*Node) Execute ¶
func (n *Node) Execute(ctx context.Context, input nodestore.MessageInterface) (nodestore.MessageInterface, error)
Execute evaluates the signal template, copies the configured metadata keys into the signal cache, and atomically increments the durable signal.