Sha256: c49187b5dad3f2466f6d66053d5da8a94b48616b21d256e3775136dd2ca4e921

Contents?: true

Size: 269 Bytes

Versions: 60

Compression:

Stored size: 269 Bytes

Contents

module Rack::App::Streamer::Scheduler
  require "rack/app/streamer/scheduler/null"

  extend(self)

  def by_env(env)
    if env['async.callback'] && defined?(::EventMachine)
      ::EventMachine
    else
      ::Rack::App::Streamer::Scheduler::Null
    end
  end

end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
rack-app-11.0.2 lib/rack/app/streamer/scheduler.rb
rack-app-11.0.1 lib/rack/app/streamer/scheduler.rb
rack-app-11.0.0 lib/rack/app/streamer/scheduler.rb
rack-app-10.0.0 lib/rack/app/streamer/scheduler.rb
rack-app-9.0.0 lib/rack/app/streamer/scheduler.rb
rack-app-8.1.0 lib/rack/app/streamer/scheduler.rb
rack-app-8.0.1 lib/rack/app/streamer/scheduler.rb
rack-app-8.0.0 lib/rack/app/streamer/scheduler.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/streamer/scheduler.rb
rack-app-7.7.0 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.5 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.4 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.3 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.2 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.1 lib/rack/app/streamer/scheduler.rb
rack-app-7.6.0 lib/rack/app/streamer/scheduler.rb
rack-app-7.5.2 lib/rack/app/streamer/scheduler.rb
rack-app-7.5.1 lib/rack/app/streamer/scheduler.rb
rack-app-7.5.0 lib/rack/app/streamer/scheduler.rb
rack-app-7.4.0 lib/rack/app/streamer/scheduler.rb