Skip to main content

Module event_sink

Module event_sink 

Source
Expand description

Event sink system for typed callback notifications.

This module defines the EventSink trait, which provides a strongly-typed interface for handling framework notifications, replacing the legacy string-based callbacks.

Structs§

ClosureEventSink
A wrapper struct needed to implement EventSink for closures.

Traits§

EventSink
A trait for receiving structured events from the framework.

Functions§

from_closure
helper to create an EventSink from a closure.