Documentation
¶
Overview ¶
Package events provides a framework for defining, handling, and processing asynchronous events. It defines an Event interface for event handling, a base implementation for common functionality, and utilities for event processing with context-aware cancellation and timeout support. The package is designed to facilitate event-driven architectures by enabling decoupled event processing and result reporting via channels.
Index ¶
Constants ¶
View Source
const EventTimeout = 3 * time.Second
EventTimeout defines the default timeout for event handling responses
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.