Skip to content

Commit 5d58b1f

Browse files
committed
Update doc
1 parent 6fa20bd commit 5d58b1f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/GRPCCore/Call/Server/ServerContext+RPCCancellationHandle.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ public func withRPCCancellationHandler<Result, Failure: Error>(
9393
/// Provides scoped access to a server RPC cancellation handle.
9494
///
9595
/// The cancellation handle should be passed to a ``ServerContext`` and last
96-
/// the duration of the RPC. This function is intended for use when implementing
97-
/// a ``ServerTransport``.
96+
/// the duration of the RPC.
97+
///
98+
/// - Important: This function is intended for use when implementing
99+
/// a ``ServerTransport``.
98100
///
99101
/// If you want to be notified about RPCs being cancelled
100102
/// use ``withRPCCancellationHandler(operation:onCancelRPC:)``.

0 commit comments

Comments
 (0)