Mpv.Socket
unixSocket :: Members [Error MpvError, Embed IO] r => Sem r Socket Source #
connectSocket :: Member (Embed IO) r => Path Abs File -> Socket -> Sem r (Either Text ()) Source #
acquireSocket :: Members [Error MpvError, Race, Time t d, Embed IO] r => Path Abs File -> Sem r Socket Source #
releaseSocket :: Member (Embed IO) r => Either MpvError Socket -> Sem r () Source #
withSocket :: Members [Resource, Race, Time t d, Embed IO] r => Path Abs File -> (Either MpvError Socket -> Sem r a) -> Sem r a Source #