pub async fn watch_for_files(
dir: &DirectoryProxy,
) -> Result<impl Stream<Item = Result<PathBuf>>>
Expand description
Returns a stream that contains the paths of any existing files and
directories in dir
and any new files or directories created after this
function was invoked. These paths are relative to dir
.