onTargetDestroyed property

Stream<Target> onTargetDestroyed

Emitted when a target is destroyed, for example when a page is closed.

NOTE This includes target destructions in incognito browser contexts.

Implementation

Stream<Target> get onTargetDestroyed => _onTargetDestroyedController.stream;