Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
type FederatedActionRunner fedM r = forall c x. Domain -> fedM c x -> Sem r (Either FederationError x) Source #
noFederationAPIAccess :: forall r fedM. Member (Concurrency 'Unsafe) r => InterpreterFor (FederationAPIAccess fedM) r Source #
interpretFederationAPIAccess :: forall r. (Member (Embed IO) r, Member (Concurrency 'Unsafe) r) => FederationAPIAccessConfig -> InterpreterFor (FederationAPIAccess FederatorClient) r Source #
interpretFederationAPIAccessGeneral :: forall fedM r. Member (Concurrency 'Unsafe) r => FederatedActionRunner fedM r -> Sem r Bool -> InterpreterFor (FederationAPIAccess fedM) r Source #
runFederatedEither :: FederatedActionRunner fedM r -> Remote a -> fedM c b -> Sem r (Either FederationError b) Source #
runFederatedConcurrently :: (Foldable f, Member (Concurrency 'Unsafe) r) => FederatedActionRunner fedM r -> f (Remote a) -> (Remote a -> fedM c b) -> Sem r [Either (Remote a, FederationError) (Remote b)] Source #
runFederatedBucketed :: (Foldable f, Functor f, Member (Concurrency 'Unsafe) r) => FederatedActionRunner fedM r -> f (Remote a) -> (Remote [a] -> fedM c b) -> Sem r [Either (Remote [a], FederationError) (Remote b)] Source #