diff --git a/Cargo.toml b/Cargo.toml
index 29c572d39..371aad29b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -74,7 +74,7 @@ tokio-tls = { version="0.1", optional = true }
tokio-openssl = { version="0.1", optional = true }
[dependencies.actix]
-version = "^0.4.4"
+version = "^0.4.5"
[dependencies.openssl]
version = "0.9"
diff --git a/src/context.rs b/src/context.rs
index d3fa212f5..99433d29d 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -51,16 +51,24 @@ impl ActorContext for HttpContext where A: Actor
impl AsyncContext for HttpContext where A: Actor
{
+ #[inline]
fn spawn(&mut self, fut: F) -> SpawnHandle
where F: ActorFuture- + 'static
{
self.inner.spawn(fut)
}
+ #[inline]
fn wait(&mut self, fut: F)
where F: ActorFuture
- + 'static
{
self.inner.wait(fut)
}
+ #[doc(hidden)]
+ #[inline]
+ fn waiting(&self) -> bool {
+ self.inner.wating()
+ }
+ #[inline]
fn cancel_future(&mut self, handle: SpawnHandle) -> bool {
self.inner.cancel_future(handle)
}