class Async::Container::Threaded::Child
def self.fork(**options)
Start a new child thread and execute the provided block in it.
def self.fork(**options) self.new(**options) do |thread| ::Thread.new do # This could be a configuration option (see forked implementation too): ::Thread.handle_interrupt(SignalException => :immediate) do yield Instance.for(thread) end end end end