Package-level declarations

Types

Link copied to clipboard
interface Event

Represents a meaningful "happening" in an app.

Link copied to clipboard
data class EventCategory(name: String)
Link copied to clipboard
fun interface EventFilter : Function1<Events, Events>

An EventFilter is used to create pipelines for Event processing.

Link copied to clipboard

Useful EventFilters used in building event processing pipelines to add various types of metadata to the events

Link copied to clipboard
typealias Events = (Event) -> Unit

Event stream - reports http4k Events

Link copied to clipboard
sealed class HttpEvent : Event
Link copied to clipboard
data class MetadataEvent(val event: Event, val metadata: Map<String, Any> = emptyMap()) : Event
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Events.and(next: Events): Events
Link copied to clipboard
operator fun Event.plus(that: Pair<String, Any>): Event

Attach some metadata to this event

Link copied to clipboard