ca.dvgi.periodic.pekko.stream.PekkoStreamsAutoUpdater
See thePekkoStreamsAutoUpdater companion object
class PekkoStreamsAutoUpdater[T](blockUntilReadyTimeout: Option[Duration])(implicit actorSystem: ActorSystem) extends AutoUpdater[Future, Future, T]
An AutoUpdater based on Pekko Streams.
Recommended when Pekko is already in use, since it is completely non-blocking, does not require additional resources, and will scale to many AutoUpdatingVars without any tuning.
Value parameters
- actorSystem
-
An ActorSystem used to update the var.
- blockUntilReadyTimeout
-
If specified, will block the calling AutoUpdatingVar instantiation until it succeeds, fails, or the timeout is reached.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait AutoUpdater[Future, Future, T]trait AutoCloseableclass Objecttrait Matchableclass Any
Members list
In this article