addResource

open override fun addResource(resource: Resource)

Adds a resource to the pool. The model must not be running when adding a resource.

Parameters

resource

the resource to add