provideModuleRootTree

open fun provideModuleRootTree(successHandler: (ResolverReference) -> Unit, failureHandler: (ErrorCode, Throwable?) -> Unit)

Provide the non-nullResolverReference that represents the moduleRoot. There is no guarantee made by this interface as to how this should be run. It can be all executed on the calling thread or it can be executed on a separate thread.

Parameters

successHandler

Accepts the resolvedResolverReference.

failureHandler

A function that accepts an ErrorCode and a nullableThrowable to be called in the event of failure.