Versions in this module Expand all Collapse all v1 v1.0.2 Aug 16, 2022 v1.0.1 Aug 8, 2022 Changes in this version + var Queue = NewEventQueue() + type EventFunc func(v interface{}) + type EventQueue struct + func NewEventQueue() *EventQueue + func (eq *EventQueue) Notify(eventType EventType, value interface{}) + func (eq *EventQueue) Subscribe(eventType EventType, eventFunc EventFunc) int + func (eq *EventQueue) Unsubscribe(eventType EventType, subscriberIdx int) error + type EventType uint8 + const BacktrackSigChain + const BlockPersistCompleted + const NewBlockProduced + const PinSigChain + const SendInboundMessageToClient