Already mixed class. Plug and play.
Constructor can use given string as id.
Node class for simple adding new item to list.
Native nodejs EventEmitter.
Unic string for this node.
Does this node took the destroy command?
Container for list.
Add item to list.
Create node with string id.
Emits 'destroyed' event, change this.isDestroyed
to true and off all events.
Emit event with custom data and "emit"
event with data { eventName: string, data: any }
Uuid v4 method to generate id.
Removes the specified listener from the listener array for the event named eventName.
Adds the listener export function to the end of the listeners array for the event named eventName.
Adds a one-time listener export function for the event named eventName.
Remove node from list.
Unsafe. Adding Emit
event for node events.
Generated using TypeDoc
Already mixed class. Plug and play.