nameable-object
v0.0.2
Published
Key features:
Readme
Key features:
- Automatic name initialization: Sets
_namein storage fromctx.id.nameif not already set - Registry table creation: Creates
_do_registrytable in the_registryinstance - Automatic registry updates: Uses
ctx.waitUntilto update registry on every fetch - Database size tracking: Uses
storage.sql.databaseSizefor size reporting - RPC communication: Registry instance handles
/updateand/registryendpoints - Error handling: Graceful error handling with logging
The decorator automatically:
- Initializes the name on first request
- Updates the registry with current database size
- Handles registry operations for the special
_registryinstance - Provides access to the name through
this.nameable.getName()
