createPackage

abstract fun createPackage(    qualifiedName: String,     completion: () -> Unit,     failureHandler: (ErrorCode, Throwable?) -> Unit)

Create a package and its representative Avail module.

Parameters

qualifiedName

The fully-qualified name of the package.

completion

A function to be run upon the successful creation of the package.

failureHandler

A function that accepts a ErrorCode that describes the failure and a nullableThrowable.