Skip to content

Commit 4c34810

Browse files
committed
Update doc with the new paths
1 parent e3ac100 commit 4c34810

File tree

164 files changed

+3178
-3501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+3178
-3501
lines changed

docs-source/channel.out.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,17 @@ log
204204
# "producer 0 pushing 2",
205205
# "producer 1 pushing 0",
206206
# "consumer 0 got 0. payload 0 from producer 0",
207-
# "producer 0 pushing 3",
208207
# "consumer 1 got 0. payload 1 from producer 0",
209-
# "producer 1 pushing 1",
210208
# "consumer 2 got 0. payload 2 from producer 0",
211209
# "consumer 3 got 0. payload 0 from producer 1",
210+
# "producer 0 pushing 3",
211+
# "producer 1 pushing 1",
212212
# "producer 1 pushing 2",
213-
# "consumer 0 got 1. payload 3 from producer 0",
213+
# "consumer 1 got 1. payload 3 from producer 0",
214214
# "producer 1 pushing 3",
215-
# "consumer 3 got 1. payload 1 from producer 1",
216-
# "consumer 1 got 1. payload 2 from producer 1",
217-
# "consumer 2 got 1. payload 3 from producer 1"]
215+
# "consumer 0 got 1. payload 1 from producer 1",
216+
# "consumer 2 got 1. payload 2 from producer 1",
217+
# "consumer 3 got 1. payload 3 from producer 1"]
218218
```
219219

220220
The producers are much faster than consumers
@@ -268,20 +268,20 @@ consumers.map(&:value!) # => [:done, :done, :done, :done]
268268
# investigate log
269269
log
270270
# => ["producer 0 pushing 0",
271-
# "producer 0 pushing 1",
272271
# "producer 1 pushing 0",
273-
# "consumer 1 got 0. payload 1 from producer 0",
274-
# "producer 0 pushing 2",
275-
# "producer 0 pushing 3",
272+
# "producer 0 pushing 1",
276273
# "producer 1 pushing 1",
277274
# "consumer 0 got 0. payload 0 from producer 0",
278-
# "consumer 2 got 0. payload 0 from producer 1",
275+
# "consumer 1 got 0. payload 0 from producer 1",
276+
# "consumer 2 got 0. payload 1 from producer 0",
277+
# "producer 0 pushing 2",
278+
# "consumer 3 got 0. payload 1 from producer 1",
279279
# "producer 1 pushing 2",
280-
# "consumer 3 got 0. payload 2 from producer 0",
280+
# "producer 0 pushing 3",
281281
# "producer 1 pushing 3",
282-
# "consumer 1 got 1. payload 3 from producer 0",
283-
# "consumer 0 got 1. payload 1 from producer 1",
282+
# "consumer 1 got 1. payload 2 from producer 0",
284283
# "consumer 2 got 1. payload 2 from producer 1",
284+
# "consumer 0 got 1. payload 3 from producer 0",
285285
# "consumer 3 got 1. payload 3 from producer 1"]
286286
```
287287

docs-source/medium-example.out.rb

Lines changed: 522 additions & 498 deletions
Large diffs are not rendered by default.

docs/master/Concurrent.html

Lines changed: 38 additions & 34 deletions
Large diffs are not rendered by default.

docs/master/Concurrent/Actor.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878

7979
<dl>
8080
<dt>Defined in:</dt>
81-
<dd>lib-edge/concurrent/actor.rb<span class="defines">,<br />
82-
lib-edge/concurrent/actor/core.rb,<br /> lib-edge/concurrent/actor/root.rb,<br /> lib-edge/concurrent/actor/utils.rb,<br /> lib-edge/concurrent/actor/errors.rb,<br /> lib-edge/concurrent/actor/context.rb,<br /> lib-edge/concurrent/actor/envelope.rb,<br /> lib-edge/concurrent/actor/behaviour.rb,<br /> lib-edge/concurrent/actor/reference.rb,<br /> lib-edge/concurrent/actor/type_check.rb,<br /> lib-edge/concurrent/actor/utils/pool.rb,<br /> lib-edge/concurrent/actor/utils/ad_hoc.rb,<br /> lib-edge/concurrent/actor/utils/balancer.rb,<br /> lib-edge/concurrent/actor/utils/broadcast.rb,<br /> lib-edge/concurrent/actor/behaviour/awaits.rb,<br /> lib-edge/concurrent/actor/behaviour/buffer.rb,<br /> lib-edge/concurrent/actor/behaviour/linking.rb,<br /> lib-edge/concurrent/actor/behaviour/pausing.rb,<br /> lib-edge/concurrent/actor/behaviour/abstract.rb,<br /> lib-edge/concurrent/actor/public_delegations.rb,<br /> lib-edge/concurrent/actor/internal_delegations.rb,<br /> lib-edge/concurrent/actor/behaviour/supervising.rb,<br /> lib-edge/concurrent/actor/behaviour/termination.rb,<br /> lib-edge/concurrent/actor/behaviour/sets_results.rb,<br /> lib-edge/concurrent/actor/behaviour/removes_child.rb,<br /> lib-edge/concurrent/actor/behaviour/executes_context.rb,<br /> lib-edge/concurrent/actor/default_dead_letter_handler.rb,<br /> lib-edge/concurrent/actor/behaviour/errors_on_unknown_message.rb</span>
81+
<dd>lib/concurrent-ruby-edge/concurrent/actor.rb<span class="defines">,<br />
82+
lib/concurrent-ruby-edge/concurrent/actor/core.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/root.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/utils.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/errors.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/context.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/envelope.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/reference.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/type_check.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/utils/pool.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/utils/ad_hoc.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/utils/balancer.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/utils/broadcast.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/awaits.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/linking.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/pausing.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/public_delegations.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/internal_delegations.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/supervising.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/termination.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/default_dead_letter_handler.rb,<br /> lib/concurrent-ruby-edge/concurrent/actor/behaviour/errors_on_unknown_message.rb</span>
8383
</dd>
8484
</dl>
8585

@@ -905,7 +905,7 @@ <h3 class="signature first" id="current-class_method">
905905
35</pre>
906906
</td>
907907
<td>
908-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/actor.rb', line 33</span>
908+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby-edge/concurrent/actor.rb', line 33</span>
909909

910910
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_current'>current</span>
911911
<span class='const'>Thread</span><span class='period'>.</span><span class='id identifier rubyid_current'>current</span><span class='lbracket'>[</span><span class='symbol'>:__current_actor__</span><span class='rbracket'>]</span>
@@ -945,7 +945,7 @@ <h3 class="signature " id="root-class_method">
945945
50</pre>
946946
</td>
947947
<td>
948-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/actor.rb', line 48</span>
948+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby-edge/concurrent/actor.rb', line 48</span>
949949

950950
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
951951
<span class='ivar'>@root</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
@@ -1077,7 +1077,7 @@ <h3 class="signature " id="spawn-class_method">
10771077
81</pre>
10781078
</td>
10791079
<td>
1080-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/actor.rb', line 71</span>
1080+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby-edge/concurrent/actor.rb', line 71</span>
10811081

10821082
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_spawn'>spawn</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
10831083
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_to_spawn_options'>to_spawn_options</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -1125,7 +1125,7 @@ <h3 class="signature " id="spawn!-class_method">
11251125
86</pre>
11261126
</td>
11271127
<td>
1128-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/actor.rb', line 84</span>
1128+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby-edge/concurrent/actor.rb', line 84</span>
11291129

11301130
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_spawn!'>spawn!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
11311131
<span class='id identifier rubyid_spawn'>spawn</span><span class='lparen'>(</span><span class='id identifier rubyid_to_spawn_options'>to_spawn_options</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='label'>initialized:</span> <span class='id identifier rubyid_future'>future</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Concurrent.html" title="Concurrent (module)">Concurrent</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Promises.html" title="Concurrent::Promises (module)">Promises</a></span></span><span class='period'>.</span><span class='id identifier rubyid_resolvable_future'><span class='object_link'><a href="Promises/FactoryMethods.html#resolvable_future-instance_method" title="Concurrent::Promises::FactoryMethods#resolvable_future (method)">resolvable_future</a></span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_future'>future</span><span class='period'>.</span><span class='id identifier rubyid_wait!'>wait!</span> <span class='rbrace'>}</span>
@@ -1260,7 +1260,7 @@ <h3 class="signature " id="to_spawn_options-class_method">
12601260
103</pre>
12611261
</td>
12621262
<td>
1263-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/actor.rb', line 95</span>
1263+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby-edge/concurrent/actor.rb', line 95</span>
12641264

12651265
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_to_spawn_options'>to_spawn_options</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
12661266
<span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>==</span> <span class='int'>1</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Hash</span><span class='rparen'>)</span>

0 commit comments

Comments
 (0)