DirectorySearch

Description

Searches local files for lines matching a specified regex.

Implements thenable so it can be used with Promise.all().

API documentation

All methods

::then()

Implementation of then() to satisfy the thenable contract. This makes it possible to use a DirectorySearch with Promise.all().

Return values
  • Returns Promise.

::cancel()

Cancels the search.