Skip to content

Commit 942ea96

Browse files
committed
tyop
1 parent 927eaa5 commit 942ea96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gettingstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public interface ICalculator
9595
We're using `ValueTask<T>` here, but the library also supports `Task<T>` and simple synchronous `T` (but: please prefer asynchronous when possible). Sometimes,
9696
you don't actually have data to send in one or both directions; in regular gRPC you'd typically use `.google.protobuf.Empty` as a nil token here, but
9797
we don't need to do that here - we can just have a parameterless method (`MultiplyAsync()`) and/or return `void`, `ValueTask` or `Task`. The library understands
98-
what you intend. Additionally, since you may want to specify or query dealines, credentials, send/receive additional headers, trailers, etc, there is a `CallContext`
98+
what you intend. Additionally, since you may want to specify or query deadlines, credentials, cancellation, or send/receive additional headers, trailers, etc, there is a `CallContext`
9999
type that expresses this intent, which can be included as an additional parameter **after** the data parameter. Since you don't always need this, it is useful
100100
to make this an optional parameter, i.e.
101101

0 commit comments

Comments
 (0)