This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempt to abstract sync and async requests by writing an abstraction over the flow of data that encompasses a request. The requests fill out a
RequestData
instance which then gets used as the source of future transformations.The login chain is a prime example of this. We define a series of steps that are expressed as a series of sequences which will finally produce the expected outcome.
The Session now produces a
Sequence
implementation which needs to be driven by a client.Unfortunately, due to lack of Async Trait support, the async implementation is not as efficient as it could be. Attempt was made to test the code on nightly, but ran into this bug
rust-lang/rust#113108