Method DisposeAsyncCore
- Namespace
- MVVrus.AspNetCore.ActiveSession.StdRunner
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
DisposeAsyncCore()
Protected, overrides EnumerableRunnerBase.DisposeAsyncCore. This method performs a real work of disposing the object instance asynchronously.
protected override Task DisposeAsyncCore()
Returns
- Task
A task that presents asynchronous process of disposing the runner.
Remarks
This override first awaits completion of a step enumeration task created by a MoveNextAsync() method of the background asynchronous enumerator in the process of background enumeration. Then this override disposes the background asynchronous enumerator and source async-enumerable if its disposal is requested by constructor parameter and if it implements an interface for disposal. And at last this override awaits its base method.