Stub

kreuzberg.rpc.Stub
object Stub

Macro generated Stubs forwarding calls to CallingBackend

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Stub.type

Members list

Value members

Concrete methods

inline def serviceName[T]: String

Returns the name for a service.

Returns the name for a service.

Attributes

def serviceNameMacro[T](using Type[T], Quotes): Expr[String]

Experimental methods

inline def makeIdStub[T](backend: CallingBackend[Id]): T

Attributes

Experimental
true
inline def makeStub[T](backend: CallingBackend[Future]): T

Generates a Stub for T

Generates a Stub for T

Attributes

Experimental
true
def makeStubMacro[F[_], A](backend: Expr[CallingBackend[F]])(using Type[A], Type[F], Quotes): Expr[A]

Attributes

Experimental
true
inline def makeZioStub[T](backend: CallingBackend[Task]): T

Attributes

Experimental
true