Method: Moped::Threaded#executing?

Defined in:
lib/moped/threaded.rb

#executing?(name) ⇒ true

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Are in the middle of executing the named stack

Examples:

Are we in the stack execution?

Threaded.executing?(:create)

Parameters:

  • name (Symbol)

    The name of the stack.

Returns:

  • (true)

    If the stack is being executed.

Since:

  • 1.0.0



36
37
38
# File 'lib/moped/threaded.rb', line 36

def executing?(name)
  !stack(name).empty?
end