AFIsolateListenerQuery<TMessage > class
abstract
Methods
afShutdown ()
→ void
inherited
createSuccessContextForResponse ({required AFDispatcher dispatcher , required AFState state , required TMessage response , required bool isPreExecute })
→ AFFinishQuerySuccessContext <TMessage >
inherited
currentMillis ()
→ int
inherited
executeInIsolate (AFIsolateListenerExecutionContext <TMessage > context )
→ void
finishAsyncWithError (AFFinishQueryErrorContext context )
→ void
The default implementation calls the error handler specified
in your xxx_define_core.dart file.
inherited
finishAsyncWithErrorAF (AFFinishQueryErrorContext context )
→ void
inherited
finishAsyncWithResponse (AFFinishQuerySuccessContext <TMessage > context )
→ void
Called when the asynchronous process completes with a response It should merge the results
into the state (preserving immutability by making copies of the relevant portions of the state using copyWith),
and then use the dispatcher to call set actions for any modified
state elements.
inherited
finishAsyncWithResponseAF (AFFinishQuerySuccessContext <TMessage > context )
→ void
Called internally by the framework to do pre and post processing before finishAsyncWithResponse
inherited
mergeOnWrite (AFTrackedQuery oldQuery )
→ AFTrackedQuery ?
Provides an opportunity to merge this new query with an old query when you
start a query and a previous version of it already exists in the state.
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retargetStore (AFConceptualStore target )
→ void
inherited
runInIsolateInternal (SendPort sendPort )
→ void
shutdown ()
→ void
This method is called when you execute an AFShutdownOngoingQueriesAction
or when you re-execute a query of this type, replacing the existing listener
with a new/differently configured query.
override
startAsync (AFStartQueryContext <TMessage > context )
→ void
Called at the start of an asynchronous process, starts the query using data from the
command.
override
startAsyncAF (AFDispatcher dispatcher , AFStore store , {required Completer <AFFinishQuerySuccessContext > ? completer , })
→ void
Called internally when redux middleware begins processing a query.
inherited
testFinishAsyncWithError (AFStateTestContext context , AFQueryError error )
→ void
Called during testing to simulate results from an asynchronous call.
inherited
testFinishAsyncWithResponse (AFStateTestContext context , TMessage response )
→ void
Called during testing to simulate results from an asynchronous call.
inherited
throwUnimplemented ()
→ Never
inherited
toString ()
→ String
A string representation of this object.
inherited