resource

fun resource(name: String, capacity: Int = 1): SResource(source)

Creates a free-standing SResource of capacity units parented to the network. The resource is not a routing node; pass it to seizeStation / releaseStation for Arena-style atomic seize/release.