Loading...
Searching...
No Matches
score::RecursiveWatch::AsyncCallbacks Struct Reference

Detailed Description

Async two-phase callbacks for off-main-thread scanning. filter is called on a worker thread for each file matching the extension. It should return a non-empty std::function<void()> (a "commit action") to accept the file; that action will be invoked on the GUI thread. Return an empty std::function (or {}) to reject the file.

Public Attributes

std::function< std::function< void()>(std::string_view path)> filter
 

The documentation for this struct was generated from the following file: