MCPcopy Create free account
hub / github.com/SpringRoll/SpringRoll / removeEntity

Method removeEntity

src/scale-manager/SafeScaleManager.js:176–178  ·  view source on GitHub ↗

* Removes an anchor * @param {ScaledEntity} entity * @return {void} @memberof SafeScaleManager

(entity)

Source from the content-addressed store, hash-verified

174 * @return {void} @memberof SafeScaleManager
175 */
176 removeEntity(entity) {
177 this.entities = this.entities.filter(e => e !== entity);
178 }
179
180 /**
181 * Enables the scale manager listener. Will not be enabled if a callback is not supplied.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected