class EXEL::Providers::ThreadedAsyncProvider
The default remote provider. Provides async execution by running the given EXEL
block in a new Thread
Public Class Methods
new(context)
click to toggle source
# File lib/exel/providers/threaded_async_provider.rb, line 7 def initialize(context) @context = context end
Public Instance Methods
do_async(block)
click to toggle source
# File lib/exel/providers/threaded_async_provider.rb, line 11 def do_async(block) Thread.new { block.start(@context.deep_dup) } end