class Async::Task
def self.run(scheduler, *arguments, **options, &block)
def self.run(scheduler, *arguments, **options, &block) self.new(scheduler, **options, &block).tap do |task| task.run(*arguments) end end
def self.run(scheduler, *arguments, **options, &block) self.new(scheduler, **options, &block).tap do |task| task.run(*arguments) end end