Module

Webb.AffList.Internal.Node.State

Package
purescript-webb-aff-list
Repository
mitchellandwebb/webb-aff-list

#NodeState Source

type NodeState a = { deliver :: Deliver (PortValue a), mutex :: Mutex, node :: Slot LateNode_, parents :: ShowRef Parents, started :: ShowRef Boolean, thread :: Thread }

#new Source

new :: forall m a. MonadEffect m => m (NodeState a)

#LateNode Source

class LateNode a  where

Members

Instances

#unsafeRecover Source

unsafeRecover :: forall a. LateNode_ -> a

#LateNode_ Source

newtype LateNode_

Constructors

Instances

#wrap Source

wrap :: forall z. LateNode z => z -> LateNode_