public interface StreamingEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Called when the stream is completed
|
void |
onError(Exception exception)
Called when an error occurs during streaming
|
void |
onEvent(Object event)
Called when a streaming event is received
|
void onEvent(Object event)
event - the event object (could be TaskStatusUpdateEvent or TaskArtifactUpdateEvent)void onError(Exception exception)
exception - the exception that occurredvoid onComplete()
Copyright © 2025. All rights reserved.