Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Jun 21, 2023
1 parent 589b48f commit a02009d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ntex-service/src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ impl<S> Container<S> {
}

#[inline]
/// Call service and create future object that resolves to service result.
///
/// Note, this call does not check service readiness.
/// Wait for service readiness and then create future object
/// that resolves to service result.
pub fn call<'a, R>(&'a self, req: R) -> ServiceCall<'a, S, R>
where
S: Service<R>,
Expand Down Expand Up @@ -285,7 +284,7 @@ where
R: 'f,
{
#[inline]
/// Call service and create future object that resolves to service result.
/// Convert future object to static version.
///
/// Returned future is suitable for spawning into a async runtime.
/// Note, this call does not check service readiness.
Expand Down

0 comments on commit a02009d

Please sign in to comment.