Method: Sequent::Util.done_processing

Defined in:
lib/sequent/util/skip_if_already_processing.rb

.done_processing(processing_key) ⇒ Object

Reset the given processing_key for the current Thread.

Usefull to make a block protected by skip_if_already_processing reentrant.



27
28
29
# File 'lib/sequent/util/skip_if_already_processing.rb', line 27

def self.done_processing(processing_key)
  Thread.current[processing_key] = nil
end