api_command_queue_bloc
Bloc and hydrated_bloc adapters for the api_command_queue core package.
0.4.0
163 downloads/mo
#1521 most downloaded on pub.dev
tribus-digital/api_command_queue_bloc
What this package is like to depend on
Last release 10 days ago
14 Aug 2026
Release timing varies
gaps range from 2 weeks to 3 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
4 months old
4 releases · first in 2026
4 releases in the last 12 months
see the full history below
Release timeline
4 releases · Apr 2026 to Aug 2026Releases
latest 4-
0.4.014 Aug 2026Release notes
Open source →- Requires
api_command_queue0.4.x, which addsApiCommandOrchestrator.autoFlushWhenDueso retries progress without waiting for the consumer to trigger the next flush.
- Requires
-
0.3.014 Aug 2026Release notes
Open source →-
Requires
api_command_queue0.3.x, which schedules retry backoff instead of sleeping it insideflush(). -
Both cubits forward the new
nextDueAt, so a consumer holding a cubit or an orchestrator can tell when to flush again rather than poll for it. -
Added
HydratedApiCommandQueueCubit.dropUndecodableCommands, off by default.SyncState.fromJsondecodes the queue in a single pass, so one undecodable command throws and takes every other queued command with it:hydrated_bloccatches the error, falls back to an empty queue and - on its defaultHydrationErrorBehavior.overwrite- writes that empty queue back over the stored one. Every write the device had not yet sent is lost.With the flag on, each command is decoded on its own first and only the ones that fail are left out, each reported through
apiCommandQueueLogger. Existing behaviour is unchanged unless it is switched on.
-
-
0.2.005 May 2026 -
0.1.019 Apr 2026Release notes
Open source →- Companion adapter package for
api_command_queueDart library - Adds
CubitandHydratedCubitwrappers for core queues and orchestrators. - Mirrors wrapped queue and orchestrator state synchronously through the public
stategetter.
- Companion adapter package for