All Downloads are FREE. Search and download functionalities are using the official Maven repository.

testcontainers.containers.znebula.ext.scala Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy