Skip to main content

Module state

Module state 

Source
Expand description

The appโ€™s state, calls between functions, and failures compiled code detects itself.

Functionsยง

nf_enter ๐Ÿ”’ โš 
Counts a call into function function from the call at span, failing when calls are too deep. Each successful call is matched by nf_leave.
nf_fail_divide_by_zero ๐Ÿ”’ โš 
Safety
nf_fail_too_large ๐Ÿ”’ โš 
Safety
nf_leave ๐Ÿ”’ โš 
Safety
nf_state ๐Ÿ”’ โš 
The value of state state, borrowed from the app.
nf_state_mut ๐Ÿ”’ โš 
The slot of state state, marked changed, for compiled code to write.