org.http4k.tracing.VcrEvents.kt Maven / Gradle / Ivy
package org.http4k.tracing
import org.http4k.events.Event
import org.http4k.events.Events
import org.http4k.tracing.junit.RecordingMode
interface VcrEvents : Events, Iterable {
/**
* Enable trace recording for just this block.
*/
fun record(block: () -> T): T
/**
* Disable trace recording for just this block.
*/
fun pause(block: () -> T): T
/**
* Enable trace recording
*/
fun resume()
/**
* Disable trace recording
*/
fun pause()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy