Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

exclusive_when

mutate.exclusive_when

(R 
type
, C 
type
:
Function, F 
type
: Function R, condition C, code F)
 => 
R
exclusively wait for the given condition to hold and then perform given code with
exclusive access to the mutable values created with this instance of `mutate`.
Precondition
pre
  safety: exclusive_allowed

Type Parameters

0.099dev (GIT hash 1bef408f37c37f3ff3417cdf772c6c40c76064ca)
last changed: 2026-09-17