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

scalapb.zio_grpc.package.scala Maven / Gradle / Ivy

The newest version!
package scalapb

import io.grpc.StatusException
import zio.stream.Stream
import zio.{IO, Scope, ZIO}

package object zio_grpc {
  type GIO[A] = IO[StatusException, A]

  type GStream[A] = Stream[StatusException, A]

  type ZManagedChannel = ZIO[Scope, Throwable, ZChannel]

  @deprecated("Use ScopedServer instead of ManagedServer", "0.6.0")
  val ManagedServer = scalapb.zio_grpc.ScopedServer

  type ZTransform[ContextIn, ContextOut] = GTransform[ContextIn, StatusException, ContextOut, StatusException]

  type ClientTransform = ZTransform[ClientCallContext, ClientCallContext]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy