mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 05:21:47 +03:00
46 lines
1.0 KiB
Haskell
46 lines
1.0 KiB
Haskell
|
-- | Multiplexed subscription poller threads; see "Hasura.GraphQL.Execute.Subscription" for details.
|
||
|
module Hasura.GraphQL.Execute.Subscription.Poll
|
||
|
( -- * Pollers
|
||
|
Poller (..),
|
||
|
PollerId (..),
|
||
|
PollerIOState (..),
|
||
|
pollLiveQuery,
|
||
|
PollerKey (..),
|
||
|
PollerMap,
|
||
|
dumpPollerMap,
|
||
|
PollDetails (..),
|
||
|
BatchExecutionDetails (..),
|
||
|
CohortExecutionDetails (..),
|
||
|
SubscriptionPostPollHook,
|
||
|
defaultSubscriptionPostPollHook,
|
||
|
|
||
|
-- * Cohorts
|
||
|
Cohort (..),
|
||
|
CohortId,
|
||
|
newCohortId,
|
||
|
CohortVariables,
|
||
|
CohortKey,
|
||
|
CohortMap,
|
||
|
|
||
|
-- * Subscribers
|
||
|
Subscriber (..),
|
||
|
SubscriberId,
|
||
|
newSubscriberId,
|
||
|
SubscriberMetadata,
|
||
|
mkSubscriberMetadata,
|
||
|
unSubscriberMetadata,
|
||
|
SubscriberMap,
|
||
|
OnChange,
|
||
|
SubscriptionGQResponse,
|
||
|
SubscriptionResponse (..),
|
||
|
SubscriptionMetadata (..),
|
||
|
SubscriberExecutionDetails (..),
|
||
|
|
||
|
-- * Batch
|
||
|
BatchId (..),
|
||
|
)
|
||
|
where
|
||
|
|
||
|
import Hasura.GraphQL.Execute.Subscription.Poll.Common
|
||
|
import Hasura.GraphQL.Execute.Subscription.Poll.LiveQuery
|