StdModuleHandler.subset constructor
Creates a handler that only exposes the named functions.
Any function not in the set will throw BallRuntimeError at runtime, which is useful for sandboxing or building a minimal runtime.
Implementation
StdModuleHandler.subset(Iterable<String> functions)
: _allowlist = functions.toSet();