2022-03-21 13:39:49 +03:00
|
|
|
-- | Multiplexed subscription poller threads; see "Hasura.GraphQL.Execute.Subscription" for details.
|
|
|
|
module Hasura.GraphQL.Execute.Subscription.Poll
|
|
|
|
( -- * Pollers
|
|
|
|
Poller (..),
|
|
|
|
PollerId (..),
|
|
|
|
PollerIOState (..),
|
|
|
|
pollLiveQuery,
|
2022-04-07 17:41:43 +03:00
|
|
|
pollStreamingQuery,
|
2022-03-21 13:39:49 +03:00
|
|
|
PollerKey (..),
|
2023-01-25 10:12:53 +03:00
|
|
|
BackendPollerKey (..),
|
2022-03-21 13:39:49 +03:00
|
|
|
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
|
2022-04-07 17:41:43 +03:00
|
|
|
import Hasura.GraphQL.Execute.Subscription.Poll.StreamingQuery
|