Module
WAGS.Destroy
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
#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
destroy :: forall proxy audio engine proof res. AudioInterpret audio engine => WAG audio engine proof res (Record i) (proxy ptr) -> WAG audio engine proof res (Record o) Unit
Instances
#PointerNotPresentInAnyEdgeList Source
class PointerNotPresentInAnyEdgeList (ptr :: Symbol) (i :: NodeList)
Internal helper class used for destroing audio nodes.
Instances
PointerNotPresentInAnyEdgeList a Nil
(Lacks a l, PointerNotPresentInAnyEdgeList a tail) => PointerNotPresentInAnyEdgeList a (Cons h (NodeC n (Record l)) tail)
- Modules
- FRP.
Event. MIDI - WAGS.
Change - WAGS.
Change. Optionals - WAGS.
Comonad - WAGS.
Connect - WAGS.
Control. Functions - WAGS.
Control. Functions. Validated - WAGS.
Control. Indexed - WAGS.
Control. Types - WAGS.
Create - WAGS.
Create. Optionals - WAGS.
CreateT - WAGS.
Debug - WAGS.
Destroy - WAGS.
Disconnect - WAGS.
Edgeable - WAGS.
Graph. AudioUnit - WAGS.
Graph. Edge - WAGS.
Graph. Graph - WAGS.
Graph. Node - WAGS.
Graph. Oversample - WAGS.
Graph. Paramable - WAGS.
Graph. Parameter - WAGS.
Interpret - WAGS.
Math - WAGS.
Patch - WAGS.
Rendered - WAGS.
Run - WAGS.
Util - WAGS.
Validation