galley-0.83.0: Conversations
Safe HaskellSafe-Inferred
LanguageGHC2021

Galley.API.Public.Servant

Synopsis

Documentation

mkNamedAPI :: forall {k} (name :: k) (r0 :: [Effect]) api. (HasServer api '[Domain], ServerEffects (DeclaredErrorEffects api) r0) => ServerT api (Sem (Append (DeclaredErrorEffects api) r0)) -> API (Named name api) r0 Source #

Convert a polysemy handler to a named API value.