ObjectStream<(Of <(<'TObject>)>)>..::..GetAsyncEnumerator Method
Gets the asynchronous enumerator.
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public IAsyncEnumerator<TObject> GetAsyncEnumerator( CancellationToken cancellationToken )
Public Function GetAsyncEnumerator ( _ cancellationToken As CancellationToken _ ) As IAsyncEnumerator(Of TObject)
public: IAsyncEnumerator<TObject>^ GetAsyncEnumerator( CancellationToken^ cancellationToken )
Parameters
- cancellationToken
- Type: CancellationToken
The cancellation token that can be used by other objects or threads to receive notice of cancellation.