Copyright | (c) 2023 Sayo Koyoneda |
---|---|
License | MPL-2.0 (see the file LICENSE) |
Maintainer | ymdfield@outlook.jp |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | GHC2021 |
Data.Effect.Concurrent.Thread
Description
Documentation
data Thread' tid (f :: Type -> Type) a where Source #
Constructors
ForkThread :: forall (f :: Type -> Type) tid. f () -> Thread' tid f tid |
forkThread'_ :: SendHOE (Thread' tid) f => f () -> f tid Source #
forkThread' :: forall {k} (tag :: k) tid f. SendHOE (TagH (Thread' tid) tag) f => f () -> f tid Source #
forkThread'' :: forall {k} (key :: k) tid f. SendHOEBy key (Thread' tid) f => f () -> f tid Source #