Already mixed class. Plug and play.
Constructor can use given string as id.
Current instance of a List class.
Native nodejs EventEmitter.
Unic string for this node.
Does this node took the destroy command?
Adds item to list with emitting event added
.
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 with emitting event removed
.
Adds listener, which remove node from list after destroyed
event.
Generated using TypeDoc
Already mixed class. Plug and play.