Package org.a2aproject.sdk.server.events
Interface EventEnqueueHook
public interface EventEnqueueHook
Hook interface for event queue enqueue operations.
Implementations can be notified when items are enqueued to the event queue,
allowing for custom behavior such as event replication or logging.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEnqueue(EventQueueItem item) Called when an item is enqueued to the event queue.
-
Method Details
-
onEnqueue
Called when an item is enqueued to the event queue.- Parameters:
item- the event queue item being enqueued
-