---
library: "bootstrap"
slug: "Resource"
name: "Resource"
ref: "Resource#0e5e"
hash: "sema:Resource#mh:SHA-256:0e5e5e6735fa9ee49f7e623029d977e435625b8ad05b28f83f962683a0ebb19b"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Resource"
---

# Resource

Finite allocatable entity

Infrastructure · Data Structures

## Mechanism

A finite, identifiable entity that can be allocated, consumed, or locked. Resources are individuated, may be renewable or exhaustible, and are subject to contention when demand exceeds supply. Forms the basis for [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) allocation and mutex coordination.

## Invariants

- Conservation: Resources cannot be created from nothing within a closed system
- Identity: Each resource instance has a unique handle

## Where this came from

—

## Builds on

- [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) (references)

## Used by

- [Mutex](https://semahash.org/vocabularies/bootstrap/patterns/Mutex.md) (references)
- [Shard](https://semahash.org/vocabularies/bootstrap/patterns/Shard.md) (references)
- [UniqueHandle](https://semahash.org/vocabularies/bootstrap/patterns/UniqueHandle.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Resource#0e5e
- Hash: sema:Resource#mh:SHA-256:0e5e5e6735fa9ee49f7e623029d977e435625b8ad05b28f83f962683a0ebb19b

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Resource
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Resource.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
