Changes 'the' to 'then' in stateful goroutine example (#427)
* Changes 'the' to 'then' in stateful goroutine example * Run tools/build to update HTML
This commit is contained in:
parent
da13e2fbe7
commit
c662818d23
@ -71,7 +71,7 @@ func main() {
|
||||
// This starts 100 goroutines to issue reads to the
|
||||
// state-owning goroutine via the `reads` channel.
|
||||
// Each read requires constructing a `readOp`, sending
|
||||
// it over the `reads` channel, and the receiving the
|
||||
// it over the `reads` channel, and then receiving the
|
||||
// result over the provided `resp` channel.
|
||||
for r := 0; r < 100; r++ {
|
||||
go func() {
|
||||
|
@ -1,2 +1,2 @@
|
||||
9c73569ad2e16252b04fe171618db4c5fd09efb7
|
||||
5mf_P9xqBzk
|
||||
04a59d09868df58e9edf5930d38efd25cbb92861
|
||||
TBcWd-OfnaA
|
||||
|
4
public/stateful-goroutines
generated
4
public/stateful-goroutines
generated
@ -48,7 +48,7 @@ by exactly 1 goroutine.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
<a href="https://go.dev/play/p/5mf_P9xqBzk"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||
<a href="https://go.dev/play/p/TBcWd-OfnaA"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
|
||||
</pre>
|
||||
</td>
|
||||
@ -176,7 +176,7 @@ value in the case of <code>reads</code>).</p>
|
||||
<p>This starts 100 goroutines to issue reads to the
|
||||
state-owning goroutine via the <code>reads</code> channel.
|
||||
Each read requires constructing a <code>readOp</code>, sending
|
||||
it over the <code>reads</code> channel, and the receiving the
|
||||
it over the <code>reads</code> channel, and then receiving the
|
||||
result over the provided <code>resp</code> channel.</p>
|
||||
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user