 
     public typealias ActionCreator = (state: State, store: Store) -> Action?
 
-    public typealias AsyncActionCreator = (state: State, store: Store,
-        actionCreatorCallback: ActionCreator -> Void) -> Void
+    public typealias AsyncActionCreator = (
+        state: State,
+        store: Store,
+        actionCreatorCallback: ActionCreator -> Void
+    ) -> Void
 }

    public var dispatchFunction: DispatchFunction!

    private var reducer: AnyReducer
    var subscribers: [AnyStoreSubscriber] = []
    private var isDispatching = false

    public required convenience init(reducer: AnyReducer, state: State?) {


    public func dispatch(actionCreatorProvider: ActionCreator, callback: DispatchCallback?) -> Any {
        let action = actionCreatorProvider(state: state, store: self)

        if let action = action {
            dispatch(action, callback: callback)
        }
