eventflux
Efficient handling of server-sent event streams with easy connectivity and data management.
2.2.1
12K downloads/mo
#2673 most downloaded on pub.dev
Imgkl/EventFlux
What this package is like to depend on
Last release 5 months ago
18 Mar 2026
Ships unpredictably
gaps range from 1 weeks to 12 months
Some releases are documented
notes for 19 of 36 stable releases
3 versions withdrawn
withdrawn after publishing
3 years old
45 releases · first in 2023
3 releases in the last 12 months
see the full history below
Release timeline
45 releases · Dec 2023 to Mar 2026Releases
latest 45-
3.0.2-dev18 Mar 2026 pre-releaseNothing published for this version
-
3.0.1-dev18 Mar 2026 pre-release withdrawnNothing published for this version
-
3.0.0-dev18 Mar 2026 pre-release withdrawnNothing published for this version
-
2.3.0-dev.123 Mar 2025 pre-releaseNothing published for this version
-
2.3.0-dev23 Mar 2025 pre-release withdrawnNothing published for this version
-
2.2.2-dev.206 Oct 2024 pre-releaseNothing published for this version
-
2.2.2-dev.104 Oct 2024 pre-releaseNothing published for this version
-
2.2.115 Sep 2024 -
2.2.002 Sep 2024Release notes
Open source →- Solves #29
- Reconnect headers are now async. You can use async functions to fetch new headers, but make sure to return a
Map<String, String>from the function. - Refer README example for more info.
- Reconnect headers are now async. You can use async functions to fetch new headers, but make sure to return a
- Solves #29
-
2.1.226 Aug 2024Release notes
Open source →- Solves #25
- The
onErrormethod now includes the JSON response from the backend in the error message, if the backend sends a JSON response to the frontend.
- The
- Solves #25
-
2.1.123 Aug 2024Release notes
Open source →- Added
reconnectHeadersparameter inReconnectConfigclass.- If you want to send custom headers during reconnect which are different from the initial connection, you can use this parameter.
- If you don't want to send any headers, you can skip this, initial headers will be used.
- Refer README example for more info
- Added Http Client Adapter to allow usage of different http clients
- Thanks to jcarvalho-ptech for the PR
- Updated Http package version to
1.2.2
- Added
-
2.1.018 Jul 2024Release notes
Open source →- Solves #18
- Ensures continuous connection even when network availability changes. (Again, I know, I know 🥹)
- Thanks to Andrew Abegg for the PR
- Solves #19
- Fixed README.md file for the example code.
- Solves #18
-
2.0.215 May 2024Nothing published for this version
-
2.0.101 May 2024Release notes
Open source →- Solves #18
- Ensures continuous connection even when network availability changes.
- Solves #18
-
2.0.025 Apr 2024Release notes
Open source →Breaking
- Added
ReconnectConfigclass to manage reconnection settings.- Closes #7
- If you are using
autoReconnectparameter inconnectmethod,reconnectConfigparam is required. - Now you can set backoff strategy, max retries and retry interval.
- Check the updated README for more info.
- Added
-
1.7.024 Apr 2024Release notes
Open source →- Solves #12
- Disposing the instance of stream when
disconnectmethod is called.
- Disposing the instance of stream when
- Solves #13
onSuccessCallbackshould not be called unless 200 is returned- Thanks to Jan Gruenwaldt for the PR
- Solves #12
-
1.6.930 Mar 2024Release notes
Open source →- Solves #11
onErrormethod not getting triggered for non 200 status codes.
- Solves #11
-
1.6.830 Mar 2024Nothing published for this version
-
1.6.701 Mar 2024 -
1.6.7+101 Mar 2024Nothing published for this version
-
1.6.626 Jan 2024Release notes
Open source →Breaking
- Disabled web support due to dependancy issue.
- Refer #5 for more info.
- Disabled web support due to dependancy issue.
-
1.6.525 Jan 2024Nothing published for this version
-
1.6.017 Jan 2024Release notes
Open source →Added
- Web support #5
- Your existing code now flawlessly extends its magic to the web – no extra setup required, just pure, uninterrupted functionality across platforms!
- Web support #5
-
1.6.0+117 Jan 2024Nothing published for this version
-
1.6.0+217 Jan 2024Nothing published for this version
-
1.6.0+318 Jan 2024Nothing published for this version
-
1.5.113 Jan 2024 -
1.5.011 Jan 2024Release notes
Open source →Added
spwanmethod- Solves #3
- Provides users the flexibility to implement multiple SSE connections.
- See the "Supercharged" section in the README for usage instructions.
-
1.5.0-beta.210 Jan 2024 pre-releaseNothing published for this version
-
1.5.0-beta.110 Jan 2024 pre-releaseNothing published for this version
-
1.0.108 Jan 2024 -
1.0.028 Dec 2023Release notes
Open source →Breaking
- Updated the
connectmethod to be a void function instead of returningEventFluxResponse. This change accompanies the introduction of theonSuccessCallbackparameter, which provides theEventFluxResponsevia callback. This modification simplifies the connection process, making reconnections and stream updates more predictable and manageable.
- Updated the
-
1.0.0+128 Dec 2023Nothing published for this version
-
1.0.0+203 Jan 2024Release notes
Open source →- If the connection is intentionaly severed/disconnected by calling
disconnet()method, then theautoReconnectwill not try to reconnect the connection again and again.- I know, it's dumb mistake I made. Sorry. 🥹
- If the connection is intentionaly severed/disconnected by calling
-
1.0.0+303 Jan 2024Nothing published for this version
-
1.0.0+407 Jan 2024Nothing published for this version
-
1.0.0+507 Jan 2024Nothing published for this version
-
1.0.0+607 Jan 2024Nothing published for this version
-
0.6.526 Dec 2023Nothing published for this version
-
0.6.5+126 Dec 2023Nothing published for this version
-
0.6.222 Dec 2023 -
0.6.2+122 Dec 2023Nothing published for this version
-
0.6.122 Dec 2023Release notes
Open source →Added
- Core functionality for connecting to server-sent event streams.
EventFluxclass to manage event stream connections.EventFluxDataclass for representing event data.EventFluxExceptionclass for handling exceptions.- Support for both GET and POST connection types.
- Error and Disconnect handling and reconnection logic.
-
0.6.022 Dec 2023Nothing published for this version
-
0.5.022 Dec 2023Nothing published for this version