Skip to content

Lightweight Scala client for Agones SDK using ZIO

License

Notifications You must be signed in to change notification settings

devsisters/zio-agones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zio-agones

Release Artifacts Snapshot Artifacts

zio-agones is a lightweight Scala client for Agones SDK using ZIO.

Sample usage:

import com.devsisters.AgonesClient
import zio.*

for {
  agones <- ZIO.service[AgonesClient]
  _      <- agones.ready
  _      <- agones.health(Schedule.fixed(5.seconds).unit).ignore.fork
  _      <- agones.getGameServer.debug
  _      <- agones.shutdown
} yield ()