Module

WAGS.Destroy

Package
purescript-wags
Repository
mikesol/purescript-wags

#idestroy Source

idestroy :: forall proxy ptr audio engine proof res i o. AudioInterpret audio engine => Destroy ptr i o => proxy ptr -> IxWAG audio engine proof res (Record i) (Record o) Unit

#Destroy Source

class Destroy (ptr :: Symbol) (i :: Graph) (o :: Graph) | ptr i -> o where

Destroy node ptr in graph i, resulting in graph o. Note that, to destroy a node, it must have no outgoing or incoming edges. This is achieved via use of disconnect. Failure to disconnect nodes before destroying will result in a compile-time error during graph validation.

Members

Instances

#PointerNotPresentInAnyEdgeList Source

class PointerNotPresentInAnyEdgeList (ptr :: Symbol) (i :: NodeList) 

Internal helper class used for destroing audio nodes.

Instances