/// <summary> /// Invoked when a new circuit is being discarded. /// </summary> /// <param name="circuit">The <see cref="Circuit"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param> /// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns> public virtual Task OnCircuitClosedAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;
/// <summary> /// Invoked when a connection to the client was dropped. /// </summary> /// <param name="circuit">The <see cref="Circuit"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param> /// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns> public virtual Task OnConnectionDownAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;