zio.macros
package zio.macros
Members list
Type members
Classlikes
final implicit class ReloadableSyntax[Service](layer: ZLayer[Any, Any, Service]) extends AnyVal
Attributes
- Source
- package.scala
- 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
- Source
- ServiceReloader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
object ServiceReloader
Attributes
- Companion
- trait
- Source
- ServiceReloader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServiceReloader.type
Implicits
Implicits
final implicit def ReloadableSyntax[Service](layer: ZLayer[Any, Any, Service]): ReloadableSyntax[Service]
Attributes
- Source
- package.scala
In this article