Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Conversation

MarinPostma
Copy link
Contributor

Refactor Database and ResultBuilder trait from full async operation.

Instead of taking a mutable reference to a ResultBuilder, the Database trait takes ownership of the ResultBuilder. The finnalize method can be used to return the result one way or another, for example with a oneshot::channel. This new model allows the Builder to be driven completely asynchronously, in sync and async context.

@MarinPostma MarinPostma changed the base branch from main to multi-tenancy July 18, 2023 09:01
@MarinPostma MarinPostma merged commit b23ec73 into multi-tenancy Jul 18, 2023
@MarinPostma MarinPostma mentioned this pull request Jul 18, 2023
21 tasks
@MarinPostma MarinPostma deleted the full-async-builder branch August 25, 2023 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant