API reference / @evolu/common / Resources

Resources

Interfaces

InterfaceDescription
ConsumerNotFoundErrorError when trying to remove a consumer that wasn't added to a resource.
ResourceNotFoundErrorError when trying to remove a consumer from a resource that doesn't exist.
ResourcesA generic resource manager that handles reference counting and delayed disposal of shared resources. Useful for managing expensive resources like WebSocket connections that need to be shared among multiple consumers.
ResourcesConfig-

Functions

FunctionDescription
createResourcesCreates Resources.

Was this page helpful?