registerForNavigationResult

Register for receiving navigation results.

The returned NavigationResultRequest has a NavigationResultRequest.Key. This key should be passed to different destinations which can then use it to call deliverNavigationResult. A result passed to deliverNavigationResult will then be emitted by the Flow returned from NavigationResultRequest.results.