celluloid actor - how to terminate all actors with Celluloid.shutdown_timeout while using futures
<pre><code>require 'celluloid/current'

Celluloid.shutdown_timeout = 1

class Mapper
  include Celluloid

  attr_accessor :value

  def run(num)
      @value = num.times.map { |idx| idx  } 
  end

end

 y = Mapper.spawn
 y.future.run(1000000)
</code></pre>

<hr>

<p>Till now it seems to work and actors are shutdown after 1 second. </p>

<pre><code>  y.value
</code></pre>

<p>But the moment I try to access value like above, it goes on till value returned from the method call is available. </p>

<p>My idea was to use Celluloid.shutdown_timeout just like standard  <em>Timeout.timeout(1) {}</em>              </p>

<p>and terminate the block if it exceeds 1 sec time limit [<em>Timeout.timeout(1)</em> is notorious for misbehaving so not using it]</p>

<p>What's the right way to achieve this using celluloid actors?</p>