class Async::Node
def initialize(parent = nil, annotation: nil, transient: false)
-
parent
(Node, nil
) -- This node will attach to the given parent.
def initialize(parent = nil, annotation: nil, transient: false) @parent = nil @children = nil @annotation = annotation @object_name = nil @transient = transient @head = nil @tail = nil if parent parent.add_child(self) end end