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

Mpv.Interpreter.MpvServer

Description

 

Documentation

data Control command where Source #

Constructors

SendCommand :: command a -> MVar (Either MpvError a) -> Control command 
Terminate :: Control command 

dispatch :: forall fmt command r a. Members [Ipc fmt command !! MpvError, Embed IO] r => command a -> MVar (Either MpvError a) -> Sem r () Source #

serverActive :: Members [Queue (Control command), Scoped resource (Ipc fmt command !! MpvError), Log, Embed IO] r => Sem r () Source #

serverIdle :: Members [Queue (Control command), Scoped resource (Ipc fmt command !! MpvError), Log, Embed IO] r => Sem r () Source #