ActionLoggingDispatchObserver
public class ActionLoggingDispatchObserver : ActionDispatchObserver
This is a simple action dispatch observer that will log the start and end of every action execution.
To add this to aid debugging, just add the following code:
Flint.dispatcher.add(observer: ActionLoggingDispatchObserver.instance)
-
Undocumented
Declaration
Swift
public static var instance: ActionLoggingDispatchObserver
-
Undocumented
Declaration
Swift
public func actionWillBegin<FeatureType, ActionType>(_ request: ActionRequest<FeatureType, ActionType>) where FeatureType : FeatureDefinition, ActionType : Action
-
Undocumented
Declaration
Swift
public func actionDidComplete<FeatureType, ActionType>(_ request: ActionRequest<FeatureType, ActionType>, outcome: ActionPerformOutcome) where FeatureType : FeatureDefinition, ActionType : Action