cancel method
void
cancel()
inherited
Cancels the async function execution.
Implementation
void cancel() {
if (status == UseAsyncStateStatus.loading) _isCanceled = true;
}
Cancels the async function execution.
void cancel() {
if (status == UseAsyncStateStatus.loading) _isCanceled = true;
}