nl_tokens: Delete an entity from the module s memory . If the entity is an Apex of a Module then delete all the entities found in that module as well .
pl_tokens: function deleteEntity ( pid , fun = ( err , _pid ) => { if ( err ) log . e ( err ) ; } ) { cacheInterface . deleteEntity ( pid , ( <mask> , removedPidArray ) => { //remove ent from EntCache (in RAM) for ( let i = 0 ; i < removedPidArray . length ; i ++ ) { let entPid = removedPidArray [ i ] ; if ( entPid in EntCache ) { delete EntCache [ entPid ] ; } } log . v ( ` ${ ( removedPidArray . length == 1 ) ? 'Entity' : 'Entities' } ${ removedPidArray . join ( ' ' ) } ` ) ; fun ( err , pid ) ; } ) ; }