Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Aug 12:12
· 140 commits to main since this release
4706d43

Major Changes

  • #649 0b6d821c110ff6ac71846cdd7ffad6e36050b4e7 Thanks @DavidHavl! - ### Added:

    • New emitAsync method to the EventEmitter to enable invoking asynchronous handlers.
    • Added prevention for potential memory leak when adding handlers inside of middleware via on method.
    • Introduced new option of EventEmitter maxHandlers that limits number of handlers that can be added to a single event.
    • Significantly improved documentation.

    Changed:

    • Moved context parameter to the first position in the emit method.