chore: add ref
parent
0a6b412774
commit
d9f081676b
|
@ -256,6 +256,32 @@ doB</pre
|
||||||
As you see only <code>doA</code> is canceled, <code>doB</code> is done
|
As you see only <code>doA</code> is canceled, <code>doB</code> is done
|
||||||
perfectly. And that what we want in this case.
|
perfectly. And that what we want in this case.
|
||||||
</p>
|
</p>
|
||||||
|
<h2>
|
||||||
|
<a
|
||||||
|
id="user-content-thanks"
|
||||||
|
class="anchor"
|
||||||
|
aria-hidden="true"
|
||||||
|
href="#thanks"
|
||||||
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
>Thanks
|
||||||
|
</h2>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href="https://www.sohamkamani.com/golang/context-cancellation-and-values/"
|
||||||
|
rel="nofollow"
|
||||||
|
>Using Context in Golang - Cancellation, Timeouts and Values (With
|
||||||
|
Examples)</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href="https://uptrace.dev/blog/golang-context-timeout.html"
|
||||||
|
rel="nofollow"
|
||||||
|
>Go Context timeouts can be harmful</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
Feel free to ask me via
|
Feel free to ask me via
|
||||||
|
|
|
@ -160,3 +160,8 @@ doB
|
||||||
|
|
||||||
As you see only `doA` is canceled, `doB` is done perfectly.
|
As you see only `doA` is canceled, `doB` is done perfectly.
|
||||||
And that what we want in this case.
|
And that what we want in this case.
|
||||||
|
|
||||||
|
## Thanks
|
||||||
|
|
||||||
|
- [Using Context in Golang - Cancellation, Timeouts and Values (With Examples)](https://www.sohamkamani.com/golang/context-cancellation-and-values/)
|
||||||
|
- [Go Context timeouts can be harmful](https://uptrace.dev/blog/golang-context-timeout.html)
|
||||||
|
|
Loading…
Reference in New Issue