-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
RFCRequest for Comment, proposals for features or changesRequest for Comment, proposals for features or changesenhancementNew feature or requestNew feature or request
Description
Tracking Issue: #629
Add future combinators and FutureExt trait to compose different configurations. This gives the users the ability to furthur customize the not-yet-fired future in a builder manner, and call await on it after configuration:
let token = CancelToken::new();
let personality = /* */;
file.read(buf).with_cancel(&token).with_personality(personality).await;Data will be passed through Context::ext, which passes an &mut dyn Any to any sub-future within a future.
Metadata
Metadata
Assignees
Labels
RFCRequest for Comment, proposals for features or changesRequest for Comment, proposals for features or changesenhancementNew feature or requestNew feature or request