Small reference-backed state container used by Web API builtin objects.
Summary
Functions
Reads the value stored at ref, returning default if it is absent.
Creates a new heap-backed state reference initialized with initial.
Stores value at ref and returns the stored value.
Updates the value at ref by applying fun to the current or default value.
Functions
Reads the value stored at ref, returning default if it is absent.
Creates a new heap-backed state reference initialized with initial.
Stores value at ref and returns the stored value.
Updates the value at ref by applying fun to the current or default value.