Skip to content

Add proposal for @Reasync and @ReasyncMembers#3259

Open
broken-circle wants to merge 1 commit intoswiftlang:mainfrom
broken-circle:reasync-macros
Open

Add proposal for @Reasync and @ReasyncMembers#3259
broken-circle wants to merge 1 commit intoswiftlang:mainfrom
broken-circle:reasync-macros

Conversation

@broken-circle
Copy link
Copy Markdown

@broken-circle broken-circle commented Apr 22, 2026

Introduces two attached macros that generate synchronous overloads of async functions by removing async/await keywords, supporting a single source of truth for paired sync/async APIs.

Pitch: https://forums.swift.org/t/pitch-reasync-and-reasyncmembers-macros/86180
Implementation: https://github.com/swift-developer-tools/swift-reasync

@broken-circle broken-circle force-pushed the reasync-macros branch 3 times, most recently from 08a221f to 473926e Compare April 26, 2026 16:07
Introduces two attached macros that generate synchronous overloads of
`async` functions by removing `async`/`await` keywords, supporting a
single source of truth for paired sync/`async` APIs.

Pitch: https://forums.swift.org/t/pitch-reasync-and-reasyncmembers-macros/86180
Implementation: https://github.com/swift-developer-tools/swift-reasync
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