View source
typedef MemoryDescriptor
package js.lib.webassembly
import js.lib.webassembly.Memory
Available on js
Fields
optionalmaximum:Null<Int>
The maximum size the WebAssembly Memory is allowed to grow to, in units of WebAssembly pages.
When present, the maximum
parameter acts as a hint to the engine to reserve memory up front.
However, the engine may ignore or clamp this reservation request.
In general, most WebAssembly modules shouldn't need to set a maximum
.