MCPcopy Index your code
hub / github.com/go-spring/go-spring / HasRetry

Method HasRetry

stdlib/httpsvr/handler.go:240–242  ·  view source on GitHub ↗

HasRetry returns true if the SSE event has a retry interval.

()

Source from the content-addressed store, hash-verified

238
239// HasRetry returns true if the SSE event has a retry interval.
240func (e *Event[T]) HasRetry() bool {
241 return e.retry != nil
242}
243
244// GetRetry returns the retry interval of the SSE event.
245func (e *Event[T]) GetRetry() int {

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected