Function DirectoryWatcher.readChanges
Fills the destination array with all changes that occurred since the last call.
The function will block until either directory changes have occurred or until the timeout has elapsed. Specifying a negative duration will cause the function to wait without a timeout.
Parameters
Name | Description |
---|---|
dst | The destination array to which the changes will be appended |
timeout | Optional timeout for the read operation. A value of
Duration will wait indefinitely. |
Returns
If the call completed successfully, true is returned.