Skip to content

feat: add Output type parameter and request dispatch strategy - #7

Merged
couchdeveloper merged 1 commit into
mainfrom
addRequestFeature
May 13, 2026
Merged

couchdeveloper merged 1 commit into
mainfrom
addRequestFeature

Conversation

@couchdeveloper

Copy link
Copy Markdown
Owner
  • Effect gains a third generic parameter Output for values returned to callers of Input.request(_:)
  • Input.request(:) suspends the caller until the effect completes, returning Output? (replaces perform(:))
  • Effect.run and Effect.request factory methods make the fire-and- forget vs. perform-driven intent explicit
  • EffectView threads Output through all public and internal signatures
  • Examples, tests, and ObservationHelpers updated for the new shape
  • Add BridgingEventDrivenAndImperative.md

- Effect gains a third generic parameter Output for values returned
  to callers of Input.request(_:)
- Input.request(_:) suspends the caller until the effect completes,
  returning Output? (replaces perform(_:))
- Effect.run and Effect.request factory methods make the fire-and-
  forget vs. perform-driven intent explicit
- EffectView threads Output through all public and internal signatures
- Examples, tests, and ObservationHelpers updated for the new shape
- Add BridgingEventDrivenAndImperative.md
@couchdeveloper
couchdeveloper merged commit ae63bef into main May 13, 2026
1 check passed
@couchdeveloper
couchdeveloper deleted the addRequestFeature branch May 13, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant