Skip to content

Commit fda2c56

Browse files
authored
[dotnet] [bidi] Protected Subscribe method in Module (#17260)
1 parent 81ea5e0 commit fda2c56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotnet/src/webdriver/BiDi/Module.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected Task<Subscription> SubscribeAsync<TEventArgs>(string eventName, Action
4040
return Broker.SubscribeAsync(eventName, eventHandler, options, jsonTypeInfo, cancellationToken);
4141
}
4242

43-
public Task<Subscription> SubscribeAsync<TEventArgs>(string eventName, Func<TEventArgs, Task> func, SubscriptionOptions? options, JsonTypeInfo<TEventArgs> jsonTypeInfo, CancellationToken cancellationToken)
43+
protected Task<Subscription> SubscribeAsync<TEventArgs>(string eventName, Func<TEventArgs, Task> func, SubscriptionOptions? options, JsonTypeInfo<TEventArgs> jsonTypeInfo, CancellationToken cancellationToken)
4444
where TEventArgs : EventArgs
4545
{
4646
var eventHandler = new AsyncEventHandler<TEventArgs>(eventName, func);

0 commit comments

Comments
 (0)