@@ -384,36 +384,36 @@ public final class Store<State, Action> {
384384 let uuid = UUID ( )
385385
386386 #if DEBUG
387- let initalThread = Thread . current
388- initalThread. threadDictionary [ uuid] = true
387+ let initalThread = Thread . current
388+ initalThread. threadDictionary [ uuid] = true
389389 #endif
390390
391391 let effectCancellable = effect. sink (
392392 receiveCompletion: { [ weak self] _ in
393393 #if DEBUG
394- if Thread . current. threadDictionary [ uuid] == nil {
395- breakpoint (
396- """
397- ---
398- Warning: Store.send
394+ if Thread . current. threadDictionary [ uuid] == nil {
395+ breakpoint (
396+ """
397+ ---
398+ Warning: Store.send
399399
400- The Store class is not thread-safe, and so all interactions with an instance of Store
401- (including all of its scopes and derived ViewStores) must be done on the same thread.
400+ The Store class is not thread-safe, and so all interactions with an instance of Store
401+ (including all of its scopes and derived ViewStores) must be done on the same thread.
402402
403- \( debugCaseOutput ( action) ) has produced an Effect that was completed on a different thread \
404- from the one it was executed on.
405-
406- Starting thread: \( initalThread)
407- Final thread: \( Thread . current)
408-
409- Possible fixes for this are:
403+ \( debugCaseOutput ( action) ) has produced an Effect that was completed on a different thread \
404+ from the one it was executed on.
405+
406+ Starting thread: \( initalThread)
407+ Final thread: \( Thread . current)
408+
409+ Possible fixes for this are:
410410
411- * Add a .receive(on:) to the Effect to ensure it completes on this Stores correct thread.
412- """
413- )
414- }
411+ * Add a .receive(on:) to the Effect to ensure it completes on this Stores correct thread.
412+ """
413+ )
414+ }
415415
416- Thread . current. threadDictionary [ uuid] = nil
416+ Thread . current. threadDictionary [ uuid] = nil
417417 #endif
418418
419419 didComplete = true
0 commit comments