Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data BackendNotificationQueueAccess m a where Source #
EnqueueNotification :: KnownComponent c => DeliveryMode -> Remote x -> FedQueueClient c a -> BackendNotificationQueueAccess m (Either FederationError a) | |
EnqueueNotificationsConcurrently :: (KnownComponent c, Foldable f, Functor f) => DeliveryMode -> f (Remote x) -> (Remote [x] -> FedQueueClient c a) -> BackendNotificationQueueAccess m (Either FederationError [Remote a]) | |
EnqueueNotificationsConcurrentlyBuckets :: (KnownComponent c, Foldable f, Functor f) => DeliveryMode -> f (Remote x) -> (Remote x -> FedQueueClient c a) -> BackendNotificationQueueAccess m (Either FederationError [Remote a]) |
enqueueNotification :: (KnownComponent c, Member (Error FederationError) r, Member BackendNotificationQueueAccess r) => DeliveryMode -> Remote x -> FedQueueClient c a -> Sem r a Source #
enqueueNotificationsConcurrently :: (KnownComponent c, Foldable f, Functor f, Member (Error FederationError) r, Member BackendNotificationQueueAccess r) => DeliveryMode -> f (Remote x) -> (Remote [x] -> FedQueueClient c a) -> Sem r [Remote a] Source #
enqueueNotificationsConcurrentlyBuckets :: (KnownComponent c, Foldable f, Functor f, Member (Error FederationError) r, Member BackendNotificationQueueAccess r) => DeliveryMode -> f (Remote x) -> (Remote x -> FedQueueClient c a) -> Sem r [Remote a] Source #