Skip to main content

Module memory

Module memory 

Source
Expand description

A container in a map, for a session with nothing to write to and for tests on every target.

The browser’s facts are knobs here, so the paths that only origin-private storage takes in earnest are driven natively: futures that are not ready when they are made and a lock the host keeps rather than the container (Memory::deferred), and a write that will not land (Memory::refusing).

Structs§

Held 🔒
Memory
A container’s bytes, keyed by entry name, dying with the process.
Wait 🔒
A future that answers Pending once before it is ready.

Enums§

Pace 🔒
Whether this map’s futures are ready the moment they are made.

Functions§

within 🔒
The name dir holds key under, or None where key is not in it. The root holds everything with no separator left in it.