runInsideIgnoredSection

inline fun <R> runInsideIgnoredSection(block: () -> R): R

Executes a given block of code within an ignored section.

NOTE: this method is intended to be used during runtime, not during bytecode instrumentation in the org.jetbrains.kotlinx.lincheck.transformation package. In that context, please use org.jetbrains.kotlinx.lincheck.transformation.invokeInsideIgnoredSection instead.

Return

result of the block invocation.

Parameters

block

the code to execute within the ignored section.