OfflineRequestQueue<TRequest> class abstract

Repeatedly reattempts requests in an interval

Constructors

OfflineRequestQueue({required Duration processingInterval, required RequestSqliteCacheManager requestManager})

Properties

hashCode int
The hash code for this object.
no setterinherited
isRunning bool
If the queue is processing
no setter
logger → Logger
final
processingInterval Duration
final
requestManager RequestSqliteCacheManager
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
Start the processing queue, resending requests every interval. Stops the existing timer if it was already running.
stop() → void
Invalidates timer. This does not stop actively-running recreated jobs.
toString() String
A string representation of this object.
inherited
transmitRequest(TRequest request) Future<void>
Send the next available request through the remote interface such as an HTTP client.

Operators

operator ==(Object other) bool
The equality operator.
inherited