EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method ListenAndLogAsyncErroneous

    ListenAndLogAsyncErroneous(Command, CancellationToken)

    There is a problem with CliWrap ListenAsync - it does not correctly process cancellation and throws unobserved exception upon GC It happens because SemaphoreSlim used by Channel is already disposed(due to cancellation) when the process completes

    Declaration
    public static IAsyncEnumerable<CommandEvent> ListenAndLogAsyncErroneous(this Command command, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    Command command
    CancellationToken cancellationToken
    Returns
    Type Description
    IAsyncEnumerable<CommandEvent>
    © Xab3r. All rights reserved.