Skip to content

Trigger SSE error event after retries finished #785

@gazpachoking

Description

@gazpachoking

Feature Request

Would like an event (or property on the 'finished' event) to know when a request has failed due to network/other issues.

Use case

After a request fails, be able to notify the user that everything is borked instead of continuing to show stale data. (Only for use when unborking things is beyond my control.)

Some discussion in here:
https://discord.com/channels/1296224603642925098/1351655830637776926

Datastar Version

v1.0.0-beta.9

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions