
testcontainers.containers.znebula.ext.scala Maven / Gradle / Ivy
package testcontainers.containers.znebula
import zio.{ URIO, ZIO }
import testcontainers.containers.NebulaClusterContainer
/**
* @author
* 梦境迷离
* @version 1.0,2023/9/21
*/
object ext {
implicit final class NebulaContainerExtension(val container: NebulaClusterContainer) extends AnyVal {
def stopAsync: URIO[Any, Unit] = ZIO.attempt(container.stop()).ignoreLogged
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy