io.github.pidoveproject.showdown.tyrian
Members list
Type members
Classlikes
Attributes
- Source
- TyrianConnectionEvent.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
class TyrianShowdownClient[F[_]] extends ShowdownClient[String, [e, r] =>> Cmd[F, UnitToNothing[r]], [r] =>> Sub[F, TyrianConnectionEvent[r]], [r] =>> Cmd[F, Either[String, r]]]
Attributes
- Source
- TyrianShowdownClient.scala
- Supertypes
-
trait ShowdownClient[String, [e, r] =>> Cmd[F, UnitToNothing[r]], [r] =>> Sub[F, TyrianConnectionEvent[r]], [r] =>> Cmd[F, Either[String, r]]]class Objecttrait Matchableclass Any
case class TyrianShowdownConnection[F[_]](socket: WebSocket[F])(implicit evidence$1: Async[F]) extends ShowdownConnection[String, [e, r] =>> Cmd[F, UnitToNothing[r]], [r] =>> Sub[F, TyrianConnectionEvent[r]]]
An open connection to a Pokemon Showdown.
An open connection to a Pokemon Showdown.
Type parameters
- F
-
the effect type of the Tyrian app
Value parameters
- socket
-
the web socket used to communicate with the server
Attributes
- Source
- TyrianShowdownConnection.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ShowdownConnection[String, [e, r] =>> Cmd[F, UnitToNothing[r]], [r] =>> Sub[F, TyrianConnectionEvent[r]]]class Objecttrait Matchableclass AnyShow all
Types
Convert Unit to Nothing or return the type as is.
Convert Unit to Nothing or return the type as is.
Type parameters
- A
-
the type to convert. Left as is if A is not Unit.
Attributes
- Source
- UnitToNothing.scala
In this article