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

Method EventSource

dotnet/src/webdriver/BiDi/EventSource.cs:27–31  ·  view source on GitHub ↗
(EventDispatcher dispatcher, EventDescriptor<TEventArgs> descriptor)

Source from the content-addressed store, hash-verified

25 private readonly EventDescriptor<TEventArgs> _descriptor;
26
27 internal EventSource(EventDispatcher dispatcher, EventDescriptor<TEventArgs> descriptor)
28 {
29 _dispatcher = dispatcher;
30 _descriptor = descriptor;
31 }
32
33 public Task<ISubscription> SubscribeAsync(Action<TEventArgs> handler, CancellationToken cancellationToken = default)
34 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected