Class: Wee::Session::MutexSerializer
Overview
The default serializer, when no continuation 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
16 17 18 |
# File 'lib/wee/session.rb', line 16 def call(env) synchronize { env['wee.session'].call(env) } end |