isDestroying
Returns if the instance is currently being destroyed.
instance.isDestroying()
Observes if a promise returned by connection.destroy
is in progress for this
instance. This is often used in a template like:
<button ($click)="todo.destroy()"
{{#todo.isDestroying}}disabled{{/todo.isDestroying}}>
Delete
</button>
Returns
{Boolean}
:
true
if connection.destroy
has been called for this
instance but the returned promise has not resolved.