Skip to content

Add async recursion helpers - #692

Merged
gabotechs merged 3 commits into
mainfrom
gabrielmusat/add-async-recursion-helpers
Sep 10, 2026
Merged

Add async recursion helpers#692
gabotechs merged 3 commits into
mainfrom
gabrielmusat/add-async-recursion-helpers

Conversation

@gabotechs

@gabotechs gabotechs commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Adds a new recursion helper that resembles .transform_up() but with an async API:

    async fn transform_up_async<F, Fut>(self, f: F) -> Result<Transformed<Self>>
    where
        Self: Sized,
        F: Fn(Self) -> Fut + Send + Sync,
        Fut: Future<Output = Result<Transformed<Self>>> + Send;

To be used in future PRs in this same stack.


Stack created with GitHub Stacks CLIGive Feedback 💬

@gabotechs
gabotechs force-pushed the gabrielmusat/add-async-recursion-helpers branch from 007f209 to c020c8b Compare September 4, 2026 09:28
Comment thread src/common/recursion.rs
Comment thread src/common/recursion.rs Outdated
Comment thread src/common/recursion.rs Outdated
Comment thread src/common/recursion.rs
Comment thread src/common/recursion.rs Outdated
@gabotechs
gabotechs force-pushed the gabrielmusat/add-async-recursion-helpers branch from c020c8b to 8adc3ea Compare September 5, 2026 15:35

@jayshrivastava jayshrivastava left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. This is much more clear. Just one comment to fix the comment to document the Jump behavior.

Comment thread src/common/recursion.rs Outdated
@gabotechs
gabotechs merged commit fa0a12e into main Sep 10, 2026
33 checks passed
@gabotechs
gabotechs deleted the gabrielmusat/add-async-recursion-helpers branch September 10, 2026 07:00
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.

2 participants