Exercise: A Simple Event

Practice how to create a simple event at the start of the process.

Problem statement

Modify the asynchronous FindRegex class so that it emits an event when the find process starts, passing the input files list as an argument.

Beware of Zalgo!

Coding challenge

Write your solution code in the following code widget. We’ve already added the package.json file for you.

Get hands-on with 1200+ tech skills courses.