/// <summary>Deregisters an event listener <em>callback</em> from an event.</summary>
 /// <param name="callback">Listener that shall be unregistered.</param>
 /// <param name="filter">A set of filters that restricts the events that will be sent to this listener.</param>
 public virtual ValueTask RemoveListener(Action <int, RemoveListenerCallbackChangeInfo, Tab> callback, UpdateFilter filter)
 {
     return(InvokeVoidAsync("removeListener", callback, filter));
 }
 /// <summary></summary>
 /// <param name="callback">Listener whose registration status shall be tested.</param>
 /// <param name="filter">A set of filters that restricts the events that will be sent to this listener.</param>
 /// <returns>True if <em>callback</em> is registered to the event.</returns>
 public virtual ValueTask <bool> HasListener(Action <int, HasListenerCallbackChangeInfo, Tab> callback, UpdateFilter filter)
 {
     return(InvokeAsync <bool>("hasListener", callback, filter));
 }