Skip to content

[Console] Consider adding an event that allow us intercept events #9538

Closed
@marcospassos

Description

@marcospassos

When we were discussing about how introduce console events, I talked about the possibility of intercepting all events in order to include a new parameter. Now, using the console.command is possible to add such parameter but we can't retrieve its value.

I think it can be achieved introducing a pre and post bound event, where in the first we have the opportunity to append a new option and in the second retrieve its value and perform some action.

Seems like other users have the same use case and for now the only workaround is very ugly and not recommended.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions