mounted property

bool mounted

An utility to know if a provider was destroyed or not.

This is useful when dealing with asynchronous operations, as the provider may have potentially be destroyed before the end of the asynchronous operation. In that case, we may want to stop performing further tasks.

Most providers are never disposed, so in most situations you do not have to care about this.

Implementation

bool get mounted;