@@ -609,57 +609,20 @@ extension EffectPublisher {
609
609
}
610
610
611
611
@available (
612
- iOS,
613
- deprecated: 9999.0 ,
612
+ * ,
614
613
message:
615
614
"""
616
- 'Effect' has been deprecated in favor of 'EffectTask' when `Failure == Never`, or
617
- `EffectPublisher<Output, Failure>` in general.
615
+ 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectPublisher<Output, Failure>' in general.
618
616
619
- You are encouraged to use `EffectTask<Action>` to model the ouput of your reducers, and to Swift
620
- concurrency to model failable streams of values.
617
+ You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
621
618
622
- See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
623
- """
624
- )
625
- @available (
626
- macOS,
627
- deprecated: 9999.0 ,
628
- message:
629
- """
630
- 'Effect' has been deprecated in favor of 'EffectTask' when `Failure == Never`, or
631
- `EffectPublisher<Output, Failure>` in general.
632
-
633
- You are encouraged to use `EffectTask<Action>` to model the ouput of your reducers, and to Swift
634
- concurrency to model failable streams of values.
619
+ To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
635
620
636
- See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
637
- """
638
- )
639
- @available (
640
- tvOS,
641
- deprecated: 9999.0 ,
642
- message:
643
- """
644
- 'Effect' has been deprecated in favor of 'EffectTask' when `Failure == Never`, or
645
- `EffectPublisher<Output, Failure>` in general.
646
-
647
- You are encouraged to use `EffectTask<Action>` to model the ouput of your reducers, and to Swift
648
- concurrency to model failable streams of values.
621
+ Find:
622
+ Effect<([^,]+), Never>
649
623
650
- See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
651
- """
652
- )
653
- @available (
654
- watchOS,
655
- deprecated: 9999.0 ,
656
- message:
657
- """
658
- 'Effect' has been deprecated in favor of 'EffectTask' when `Failure == Never`, or
659
- `EffectPublisher<Output, Failure>` in general.
660
-
661
- You are encouraged to use `EffectTask<Action>` to model the ouput of your reducers, and to Swift
662
- concurrency to model failable streams of values.
624
+ Replace:
625
+ EffectTask<$1>
663
626
664
627
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
665
628
"""
0 commit comments