Yorgos S.
03/07/2025, 7:48 AMPablichjenkov
03/07/2025, 12:05 PMYorgos S.
03/07/2025, 12:18 PM// Create the Actor Registry.
val registry = SimpleActorRegistry()
.register(AccountActor::class) { key -> AccountActor(key) }
// Start the actor system.
ActorSystem
.register(SimpleLoggerFactory())
.register(SimpleStats())
.register(registry)
.start()
You can tell to the actor registry how each actor is created.Yorgos S.
03/07/2025, 12:30 PMPablichjenkov
03/07/2025, 12:31 PMYorgos S.
03/07/2025, 12:34 PMYorgos S.
03/07/2025, 12:35 PM