Skip to content

CmdletEndProcessing event removed #962

@moonstonegrey

Description

@moonstonegrey

Updating @autorest/powershell package from 3.0.466 to 3.0.491 removed the CmdletEndProcessing signal sent in the EndProcessing method. The method is now just empty. I was utilising this event to send some telemetry. Any reason why this was removed or am I missing something?

autorest --version:3.5.1 config.md --use:@autorest/[email protected] 
        /// <summary>Performs clean-up after the command execution</summary>
        protected override void EndProcessing()
        {
            ((N.Generated.Runtime.IEventListener)this).Signal(N.Generated.Runtime.Events.CmdletEndProcessing).Wait(); if( ((N.Generated.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; }
        }
autorest --version:3.5.1 config.md --use:@autorest/[email protected] 
        /// <summary>Performs clean-up after the command execution</summary>
        protected override void EndProcessing()
        {

        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions