PrintInterceptor
public class PrintInterceptor<State> : Interceptor where State : Encodable
A Interceptor
to use when debugging. Every Action
s and State
change are printed to the console.
-
Initializes the
PrintInterceptor
.Declaration
Swift
public convenience init()
-
Declaration
Swift
public func actionDispatched(action: Action, oldState: State, newState: State)