Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
newtype TopSortPrio #
Instances
Show TopSortPrio # | |
Defined in Napkin.Cli.Web.Effects showsPrec :: Int -> TopSortPrio -> ShowS # show :: TopSortPrio -> String # showList :: [TopSortPrio] -> ShowS # | |
Eq TopSortPrio # | |
Defined in Napkin.Cli.Web.Effects (==) :: TopSortPrio -> TopSortPrio -> Bool # (/=) :: TopSortPrio -> TopSortPrio -> Bool # | |
Ord TopSortPrio # | |
Defined in Napkin.Cli.Web.Effects compare :: TopSortPrio -> TopSortPrio -> Ordering # (<) :: TopSortPrio -> TopSortPrio -> Bool # (<=) :: TopSortPrio -> TopSortPrio -> Bool # (>) :: TopSortPrio -> TopSortPrio -> Bool # (>=) :: TopSortPrio -> TopSortPrio -> Bool # max :: TopSortPrio -> TopSortPrio -> TopSortPrio # min :: TopSortPrio -> TopSortPrio -> TopSortPrio # |
data DAG (b :: k) (a :: Type -> Type) c where #
GetTaskStates :: forall {k} (b :: k) (a :: Type -> Type). DAG b a (Map TaskId (TaskStateInfo b)) | |
IsFinished :: forall {k} (b :: k) (a :: Type -> Type). DAG b a Bool |
Instances
type DispatchOf (DAG b) # | |
Defined in Napkin.Cli.Web.Effects |
runDAGIO :: forall {k} (es :: [Effect]) (b :: k) a. Concurrent :> es => (TVar (DAGRunState b), TMVar (DAGRunState b)) -> Eff (DAG b ': es) a -> Eff es a #
accumTaskStates :: forall {k} (b :: k) m. MonadUnliftIO m => RuntimeEventQueueDAG b -> m (TVar (DAGRunState b), TMVar (DAGRunState b)) #
getTaskStates :: forall {k} (b :: k) (es :: [Effect]). DAG b :> es => Eff es (DAGRunState b) #
getTaskState :: forall {k} (b :: k) (es :: [Effect]). DAG b :> es => TaskId -> Eff es (Maybe (TaskStateInfo b)) #