requireAllAvailable

fun requireAllAvailable(resourceList: List<Resource>)

Checks if all resources in the list are available. Throws an exception if any of the resources in the list do not have available units