esl
esl copied to clipboard
[🚀esl-core]: extend `ESLEventListener` api to have more control over auto-behaviour
As a ESL consumer, I want to be able control phases to auto subscribe/unsubscribe events
Proposal:
auto?: boolean | 'all' | 'bind' | 'unbind';
Originally posted by @ala-n in https://github.com/exadel-inc/esl/pull/878#discussion_r830993170