processscoped
Processscoped is a term used in software architecture to describe resources, services, or configurations whose lifetime is tied to the lifetime of the running process. A processscoped object exists for the duration of the process and is typically shared across threads and requests within that process. In contrast to per-request or per-thread scopes, a processscoped instance is created once per process and disposed when the process terminates.
In dependency injection and service lifetime models, process scope can be implemented as a root or singleton-like
Common use cases for process-scoped resources include cross-cutting concerns such as logging, metrics collection, configuration providers,
Implementation considerations include thread safety, initialization order, and memory usage, since a process-scoped object may remain
See also: lifetime management, dependency injection, singleton, and per-process resources.