class RorVsWild::Section
def self.stop(&block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.stop: () -> (Array[RorVsWild::Section] | false)
This signature was generated using 8 samples from 1 application.
def self.stop(&block) return unless stack && section = stack.pop block.call(section) if block_given? section.total_runtime = RorVsWild.clock_milliseconds - section.started_at current.children_runtime += section.total_runtime if current RorVsWild.agent.add_section(section) end