Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Run_Later simple port for sinatra(it's basically an after_filter that is truly an after filter)

branch: master

Added our link.

latest commit 405a6db05b
jaredmdobson authored
Octocat-spinner-32 README Added our link.
Octocat-spinner-32 run_later.rb inital commit
README
Direct copy of http://github.com/mattmatt/run_later/tree/master by Ported to Rails by Mathias Meyer (http://paperplanes.de) added one line for sinatra

Released under the MIT license


Usage:

require 'rubygems'
require 'sinatra'
require 'run_later'

get '/' do
  run_later do
    #some task that you don't want to block.
    sleep 20
  end
  "Hello World"
end

Contributed to the Community by: http://www.pmamediagroup.com
Something went wrong with that request. Please try again.