std:collections module
Experimental
The std:collections module exposes concurrent and shareable collection types — map, counter, and mutex.
| Property | Value |
|---|---|
| Namespace | std |
| Source | src/lua/std/collections.rs |
| Tests | tests/std/collections.test.luau |
| Stability | Experimental |
| Mirror | std::collections |
Syntax
lua
local collections = require("std:collections")Description
WARNING
This reference page is a stub. The full Lua surface is captured in the module source listed above and exercised by the test file. A spec PR following the spec-driven development workflow will land the contracted surface here.
Until that lands, the source and tests are the contract.
See also
- The module system — How
require("std:collections")resolves. - The sandboxing model — How
std:*modules fit into the engine. std:*— Other modules in this namespace.