Table of Contents

Class CdpEventStream<TParams>

Namespace
Selenium.WebDriver.BiDi.Cdp
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

An async stream of CDP event parameters.

public sealed class CdpEventStream<TParams> : IEventStream<TParams>, IAsyncDisposable where TParams : EventArgs

Type Parameters

TParams

The type of event parameters.

Inheritance
CdpEventStream<TParams>
Implements
IEventStream<TParams>
Inherited Members

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

ReadAllAsync(CancellationToken)

public IAsyncEnumerable<TParams> ReadAllAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

IAsyncEnumerable<TParams>