clearNode(unit, config?: {deep?: boolean}): void#
Method for destroying stores, events, effects, subscriptions and domains
Arguments
unit(Store/Event/Effect/Domain/Scope): unit to be erasedconfig: ({deep?: boolean})(optional): config objectdeep: boolean(optional): erase node and all of its' computed values
Returns
void