Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
withMpvSocket :: Members [Reader MpvProcessConfig, Resource, Time t d, Race, Embed IO, Final IO] r => (Either MpvError Socket -> Sem r a) -> Sem r a Source #
withIpcIO :: Members [Events t MpvEvent, Resource, Race, Async, Log, Embed IO, Final IO] r => (MpvResources Value -> Sem r a) -> Socket -> TBMQueue (OutMessage Value) -> TBMQueue (InMessage Value) -> TVar (Requests Value) -> Sem r a Source #