pub fn watch<P: AsRef<Path>>(
dir: P,
debounce: Duration,
) -> Result<PolicyWatcher>Expand description
Watch a policy store for changes to Cedar files anywhere under policies/
and to schema.cedarschema. The returned watcher is debounced: events that
arrive within debounce of each other are coalesced into a single batch.