MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / SubscribeAsync

Method SubscribeAsync

dotnet/src/webdriver/BiDi/IEventSource.cs:24–24  ·  view source on GitHub ↗
(Action<TEventArgs> handler, CancellationToken cancellationToken = default)

Source from the content-addressed store, hash-verified

22public interface IEventSource<TEventArgs> where TEventArgs : EventArgs
23{
24 Task<ISubscription> SubscribeAsync(Action<TEventArgs> handler, CancellationToken cancellationToken = default);
25
26 Task<ISubscription> SubscribeAsync(Func<TEventArgs, Task> handler, CancellationToken cancellationToken = default);
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected