pub fn create_storage() -> Box<dyn Storage>Expand description
What the builder (08) calls to give a stateful operator its own store. On
the client/test path a fresh object is the namespace (spec 10 §3.3, §4.5):
each Take/Cap gets a disjoint keyspace because it gets a distinct
MemoryStorage. The JS name argument is not needed by the memory backend
(uniqueness is object identity — spec 10 §6 deviation D2), so it is not taken
here; the builder keeps name at its own boundary for debug/logging.
The server path should inject a StorageFactory built from
DatabaseStorage; this compatibility helper stays memory-backed.