Skip to content

Feature Request: Support for async closuresΒ #2749

@ProbstDJakob

Description

@ProbstDJakob

Motivation

Since AsyncFn and therefore async closures have been stabilised in rust version 1.85.0 a few months back, are there any plans to support this for example in transactions?

Proposed Solutions

For example the arguments to the transaction functions can be changed to instead receive impl AsyncFnOnce() -> Result<T, E> or if this is to late for version 2.0.0, another pair of transaction functions can be added which receive the async closure.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions