Class: Wee::Session::MutexSerializer
Overview
The default serializer, when no continuations are going to be used. Ensures that only one request of the same session is executed at the same time.
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
18 19 20 |
# File 'lib/wee/session.rb', line 18 def call(env) synchronize { env['wee.session'].call(env) } end |