Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Jun 18, 2024
1 parent 9733a72 commit 00109e4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@
[Link-SonatypeSnapshots]: https://s01.oss.sonatype.org/content/repositories/snapshots/com/devsisters/zio-agones_2.13/ "Sonatype Snapshots"
[Badge-SonatypeSnapshots]: https://img.shields.io/nexus/s/https/s01.oss.sonatype.org/com.devsisters/zio-agones_2.13.svg "Sonatype Snapshots"

**zio-agones** is a lightweight Scala client for [Agones SDK](https://agones.dev/site/docs/guides/client-sdks/) using ZIO.
**zio-agones** is a lightweight Scala client for [Agones SDK](https://agones.dev/site/docs/guides/client-sdks/) using ZIO.

Sample usage:

```scala
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 ()
```

0 comments on commit 00109e4

Please sign in to comment.