GetData returns the data of the SSE event.
()
| 233 | |
| 234 | // GetData returns the data of the SSE event. |
| 235 | func (e *Event[T]) GetData() any { |
| 236 | return e.data |
| 237 | } |
| 238 | |
| 239 | // HasRetry returns true if the SSE event has a retry interval. |
| 240 | func (e *Event[T]) HasRetry() bool { |