End one child of this agent — both halves, in one call. A child that is finished has to be emptied and removed, and doing only one leaves a mess of a specific kind. Emptying alone leaves the name alive: the next call to it activates a blank agent that answers as if it were new. Removing alone leaves everything the child accumulated — its state, its pending timers, its history — sitting in storage under a name nothing can reach again.protecteddespawn(child):Promise<void>
despawn() does both, in the order that works: the child
empties itself first, while it can still be reached, and only then is the
name ended. Afterwards a call to the old address is refused rather than
answered by a ghost.
despawn must rename it (or align it to override this method).
Parameters
Returns
Promise<void>