mpv-0.1.0.0: Mpv Client for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mpv.Effect.MpvServer

Documentation

data MpvServer command :: Effect where Source #

Constructors

Send :: command a -> MpvServer command m a 
Terminate :: MpvServer command m () 

Instances

Instances details
type DefiningModule MpvServer Source # 
Instance details

Defined in Mpv.Effect.MpvServer

type DefiningModule MpvServer = "Mpv.Effect.MpvServer"

terminate :: forall command r. MemberWithError (MpvServer command) r => Sem r () Source #

send :: forall command r a. MemberWithError (MpvServer command) r => command a -> Sem r a Source #