C# Class RxTelegram.Bot.Utils.ObservableExtensions.ObservableAsyncEnumerable

Inheritance: IObserver, IAsyncEnumerable, IAsyncEnumerator
Mostra file Open project: RxTelegram/RxTelegram.Bot

Public Methods

Method Description
DisposeAsync ( ) : ValueTask
GetAsyncEnumerator ( CancellationToken cancellationToken ) : IAsyncEnumerator
MoveNextAsync ( ) : ValueTask
ObservableAsyncEnumerable ( IObservable observable ) : System
OnCompleted ( ) : void
OnError ( Exception error ) : void
OnNext ( value ) : void

Private Methods

Method Description
Clone ( ) : ObservableAsyncEnumerable
Dispose ( ) : void
DisposeSubscription ( ) : void

Method Details

DisposeAsync() public method

public DisposeAsync ( ) : ValueTask
return ValueTask

GetAsyncEnumerator() public method

public GetAsyncEnumerator ( CancellationToken cancellationToken ) : IAsyncEnumerator
cancellationToken CancellationToken
return IAsyncEnumerator

MoveNextAsync() public method

public MoveNextAsync ( ) : ValueTask
return ValueTask

ObservableAsyncEnumerable() public method

public ObservableAsyncEnumerable ( IObservable observable ) : System
observable IObservable
return System

OnCompleted() public method

public OnCompleted ( ) : void
return void

OnError() public method

public OnError ( Exception error ) : void
error Exception
return void

OnNext() public method

public OnNext ( value ) : void
return void