Skip to content

Commit e277678

Browse files
committed
Deprecated Channel
1 parent 6ec154d commit e277678

File tree

5 files changed

+6
-162
lines changed

5 files changed

+6
-162
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ for more information or join our [mailing list](http://groups.google.com/group/c
4444
There are many concurrency abstractions in this library. These abstractions can be broadly categorized
4545
into several general groups:
4646

47-
* Asynchronous concurrency abstractions including [Async](https://github.com/jdantonio/concurrent-ruby/wiki/Async),
48-
[Agent](https://github.com/jdantonio/concurrent-ruby/wiki/Agent), [Channel](https://github.com/jdantonio/concurrent-ruby/wiki/Channel),
49-
[Future](https://github.com/jdantonio/concurrent-ruby/wiki/Future), [Promise](https://github.com/jdantonio/concurrent-ruby/wiki/Promise),
47+
* Asynchronous concurrency abstractions including
48+
[Async](https://github.com/jdantonio/concurrent-ruby/wiki/Async),
49+
[Agent](https://github.com/jdantonio/concurrent-ruby/wiki/Agent),
50+
[Future](https://github.com/jdantonio/concurrent-ruby/wiki/Future),
51+
[Promise](https://github.com/jdantonio/concurrent-ruby/wiki/Promise),
5052
[ScheculedTask](https://github.com/jdantonio/concurrent-ruby/wiki/ScheduledTask),
5153
and [TimerTask](https://github.com/jdantonio/concurrent-ruby/wiki/TimerTask)
5254
* Erlang-inspired [Supervisor](https://github.com/jdantonio/concurrent-ruby/wiki/Supervisor) and other lifecycle classes/mixins

lib/concurrent.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
require 'concurrent/actor'
1313
require 'concurrent/agent'
1414
require 'concurrent/async'
15-
require 'concurrent/channel'
1615
require 'concurrent/dataflow'
1716
require 'concurrent/delay'
1817
require 'concurrent/dereferenceable'

lib/concurrent/channel.rb

Lines changed: 0 additions & 71 deletions
This file was deleted.

spec/concurrent/actor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def update(time, message, value, reason)
196196
it 'passes a duplicate of the given block to each actor in the pool' do
197197
block = proc{ nil }
198198
block.should_receive(:dup).exactly(5).times.and_return(proc{ nil })
199-
mailbox, pool = Channel.pool(5, &block)
199+
mailbox, pool = clazz.pool(5, &block)
200200
end
201201

202202
it 'gives all pool the same mailbox' do

spec/concurrent/channel_spec.rb

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)