Module | Moped::Executable |
In: |
lib/moped/executable.rb
|
Provides common behavior around executing a thread local stack safely.
@since 2.0.0
Given the name of a thread local stack, ensure that execution happens by starting and ending the stack execution cleanly.
@example Ensure execution of a pipeline.
execute(:pipeline) do yield(self) end
@param [ Symbol ] name The name of the stack.
@return [ Object ] The result of the yield.
@since 2.0.0