B0_std.BvalSourceBlocking values.
Note. In direct style the Fut.t values would go away. For now be bundled lazy blocking values in the same structure.
Note. This is an IVar.
The type for setting blocking value.
The type for immutable blocking values.
set s v sets the blocking value of_setter s to value v. Raises Invalid_argument if set is already set.
try_set s v is true if iv was set to v and false if iv was already set.
try_set' s f is true if iv was set to f () and false if iv was already set, in the latter case f may be or may not have been called.
get bv is the value of bv. In direct style, this should be a blocking call.
poll bv is None if get bv would block and Some _ if it does not block. If bv was created with of_lazy_fun, this ensure the computation gets triggered.
stir bv is ignore (poll v). Useful if you know bv will be needed later and may be a of_lazy_fun.