zio.macros
package zio.macros
Members list
Type members
Classlikes
final implicit class ReloadableSyntax[Service](layer: ZLayer[Any, Any, Service]) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
trait ServiceReloader
A ServiceReloader
is a "registry" of services, allowing services to be reloaded dynamically. You can create a reloadable version of your service by using the reloadable
operator on ZLayer
. Then just call ServiceLoader.reload
to reload the service.
A ServiceReloader
is a "registry" of services, allowing services to be reloaded dynamically. You can create a reloadable version of your service by using the reloadable
operator on ZLayer
. Then just call ServiceLoader.reload
to reload the service.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ServiceReloader
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServiceReloader.type
Implicits
Implicits
final implicit def ReloadableSyntax[Service](layer: ZLayer[Any, Any, Service]): ReloadableSyntax[Service]
In this article