addInventory

fun addInventory(inventory: Inventory)(source)

Add an Inventory for its declared Inventory.itemType. Subscribes the inventory's responses to this holder's aggregate; sets the inventory's Inventory.replenishmentRequester so its replenishment routes through here.