actix-v0.11.0-beta.3
版本发布时间: 2021-03-04 01:21:06
actix/actix最新发布版本:actix_derive-v0.6.2(2024-09-13 04:20:46)
Added
- Added
fut::{ActorFutureExt, ActorStreamExt}
traits for extension method forActorFuture
andActorStream
trait. This is aiming to have a similar traits set inline withfutures
crate. #474 - Added
ActorStreamExt::collect
method for collect an actor stream's items and output them as an actor future. #474 - Added
ActorStreamExt::take_while
method to take an actor stream's items based on the closure output. #474 - Added
ActorStreamExt::skip_while
method to skip an actor stream's items based on the closure output. #474 - Added
fut::LocalBoxActorFuture
type to keep inline with thefutures::future::LocalBoxFuture
type. #474
Changed
- Rework
ActorFuture
trait. #465 -
fut::{wrap_future, wrap_stream}
would need type annotation for Actor type. #465 -
dev::MessageResponse::handle
method does not need generic type #472 -
fut::{ok, err, result, FutureResult, Either}
are changed to re-export offutures::future::{ready, Ready, Either}
types. #474 -
futures::future::{ok, err, ready, Ready, Either}
types implsActorFuture
trait by default. #474
Removed
- Remove
dev::ResponseChannel
trait #472