class Async::Container::Generic
def async(**options, &block)
- Please use {spawn} or {run} instead.
def async(**options, &block) # warn "#{self.class}##{__method__} is deprecated, please use `spawn` or `run` instead.", uplevel: 1 require "async" spawn(**options) do |instance| Async(instance, &block) end end