Files
bun.sh/cmake
Claude Bot 06b3e11a62 add getOrSetItem and takeItem methods to processStorage
New methods provide common atomic operations:

- getOrSetItem(key, defaultValue): Get existing value or set and return default
  - Thread-safe get-or-insert pattern
  - Useful for lazy initialization and caching

- takeItem(key): Get value and remove atomically, return null if not found
  - Thread-safe consume pattern
  - Useful for work queues and one-time operations

Both methods maintain thread safety with proper locking and isolated string copies.
Comprehensive test coverage added for all edge cases.

Removed vision document as requested.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 14:05:04 +00:00
..
2024-11-15 21:01:55 -08:00
2025-05-31 16:21:08 -07:00