pub const GRANTS: [&str; 5];Expand description
What a run in the playground is granted.
Every host is registered, as cove run registers every host — a grant and
not a registration is what decides, and a refusal that names the missing
capability is a better answer than an operation that does not exist. These
five are the ones whose in-memory implementations can honestly answer:
console prints into a buffer the page shows, clock is virtual, env
is empty, and files and documents start empty and live as long as the
run does.
http, database and process are absent. They are registered denied or
recorded, so a program that calls them is told it was not granted the
capability rather than being told the module does not exist.