MCPcopy Create free account
hub / github.com/dfinity/examples / with_state

Function with_state

rust/low_wasm_memory/backend/lib.rs:24–26  ·  view source on GitHub ↗

A helper method to read the state. Precondition: the state is already initialized.

(f: impl FnOnce(&State) -> R)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected