subscribeRootWatcher

Subscribe to receive notifications of WatchEventTypes occurring to this ModuleRoot.

Return

A UUID that uniquely identifies the subscription.

Parameters

The lambda that accepts a WatchEventType that describes the event that occurred at the source location and a ResolverReference that identifies to what the event occurred to.