Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- type Spider = SpiderTimeline Global
- data SpiderTimeline x
- data Global
- data SpiderHost (x :: Type) a
- runSpiderHost :: SpiderHost Global a -> IO a
- runSpiderHostForTimeline :: SpiderHost x a -> SpiderTimelineEnv x -> IO a
- newSpiderTimeline :: IO (Some SpiderTimelineEnv)
- withSpiderTimeline :: (forall x. HasSpiderTimeline x => SpiderTimelineEnv x -> IO r) -> IO r
- type SpiderEnv = SpiderTimeline
Documentation
type Spider = SpiderTimeline Global Source #
The default, global Spider environment
data SpiderTimeline x Source #
Designates the default, global Spider timeline
Instances
A statically allocated SpiderTimeline
Instances
HasSpiderTimeline Global Source # | |
Defined in Reflex.Spider.Internal |
data SpiderHost (x :: Type) a Source #
The monad for actions that manipulate a Spider timeline identified by x
Instances
runSpiderHost :: SpiderHost Global a -> IO a Source #
Run an action affecting the global Spider timeline; this will be guarded by a mutex for that timeline
runSpiderHostForTimeline :: SpiderHost x a -> SpiderTimelineEnv x -> IO a Source #
Run an action affecting a given Spider timeline; this will be guarded by a mutex for that timeline
newSpiderTimeline :: IO (Some SpiderTimelineEnv) Source #
Create a new SpiderTimelineEnv
withSpiderTimeline :: (forall x. HasSpiderTimeline x => SpiderTimelineEnv x -> IO r) -> IO r Source #
Pass a new timeline to the given function.
Deprecated
type SpiderEnv = SpiderTimeline Source #
Deprecated: Use SpiderTimelineEnv
instead
SpiderEnv
is the old name for SpiderTimeline