Methods
withAsync :: HasCallStack => CharonT env m a -> (Async a -> CharonT env m b) -> CharonT env m b Source #
withAsyncBound :: HasCallStack => CharonT env m a -> (Async a -> CharonT env m b) -> CharonT env m b Source #
withAsyncOn :: HasCallStack => Int -> CharonT env m a -> (Async a -> CharonT env m b) -> CharonT env m b Source #
withAsyncWithUnmask :: HasCallStack => ((forall c. CharonT env m c -> CharonT env m c) -> CharonT env m a) -> (Async a -> CharonT env m b) -> CharonT env m b Source #
withAsyncOnWithUnmask :: HasCallStack => Int -> ((forall c. CharonT env m c -> CharonT env m c) -> CharonT env m a) -> (Async a -> CharonT env m b) -> CharonT env m b Source #
wait :: HasCallStack => Async a -> CharonT env m a Source #
poll :: HasCallStack => Async a -> CharonT env m (Maybe (Either SomeException a)) Source #
waitCatch :: HasCallStack => Async a -> CharonT env m (Either SomeException a) Source #
cancel :: HasCallStack => Async a -> CharonT env m () Source #
uninterruptibleCancel :: HasCallStack => Async a -> CharonT env m () Source #
cancelWith :: (Exception e, HasCallStack) => Async a -> e -> CharonT env m () Source #
race :: HasCallStack => CharonT env m a -> CharonT env m b -> CharonT env m (Either a b) Source #
concurrently :: HasCallStack => CharonT env m a -> CharonT env m b -> CharonT env m (a, b) Source #
concurrently_ :: HasCallStack => CharonT env m a -> CharonT env m b -> CharonT env m () Source #
waitAny :: HasCallStack => [Async a] -> CharonT env m (Async a, a) Source #
waitAnyCatch :: HasCallStack => [Async a] -> CharonT env m (Async a, Either SomeException a) Source #
waitAnyCancel :: HasCallStack => [Async a] -> CharonT env m (Async a, a) Source #
waitAnyCatchCancel :: HasCallStack => [Async a] -> CharonT env m (Async a, Either SomeException a) Source #
waitEither :: HasCallStack => Async a -> Async b -> CharonT env m (Either a b) Source #
waitEitherCatch :: HasCallStack => Async a -> Async b -> CharonT env m (Either (Either SomeException a) (Either SomeException b)) Source #
waitEitherCancel :: HasCallStack => Async a -> Async b -> CharonT env m (Either a b) Source #
waitEitherCatchCancel :: HasCallStack => Async a -> Async b -> CharonT env m (Either (Either SomeException a) (Either SomeException b)) Source #
waitEither_ :: HasCallStack => Async a -> Async b -> CharonT env m () Source #
waitBoth :: HasCallStack => Async a -> Async b -> CharonT env m (a, b) Source #
async :: HasCallStack => CharonT env m a -> CharonT env m (Async a) Source #
asyncBound :: HasCallStack => CharonT env m a -> CharonT env m (Async a) Source #
asyncOn :: HasCallStack => Int -> CharonT env m a -> CharonT env m (Async a) Source #
asyncWithUnmask :: HasCallStack => ((forall b. CharonT env m b -> CharonT env m b) -> CharonT env m a) -> CharonT env m (Async a) Source #
asyncOnWithUnmask :: HasCallStack => Int -> ((forall b. CharonT env m b -> CharonT env m b) -> CharonT env m a) -> CharonT env m (Async a) Source #
link :: HasCallStack => Async a -> CharonT env m () Source #
linkOnly :: HasCallStack => (SomeException -> Bool) -> Async a -> CharonT env m () Source #
link2 :: HasCallStack => Async a -> Async b -> CharonT env m () Source #
link2Only :: HasCallStack => (SomeException -> Bool) -> Async a -> Async b -> CharonT env m () Source #
pooledMapConcurrentlyN :: (HasCallStack, Traversable t) => Positive Int -> (a -> CharonT env m b) -> t a -> CharonT env m (t b) Source #
pooledMapConcurrently :: (HasCallStack, Traversable t) => (a -> CharonT env m b) -> t a -> CharonT env m (t b) Source #
pooledMapConcurrentlyN_ :: (Foldable f, HasCallStack) => Positive Int -> (a -> CharonT env m b) -> f a -> CharonT env m () Source #
pooledMapConcurrently_ :: (Foldable f, HasCallStack) => (a -> CharonT env m b) -> f a -> CharonT env m () Source #