Results for “Std.Concurrent.Coordinate.once”
4 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Concurrent.Coordinate.Once
A value computed at most once, by whichever caller asks first.
- Std.Concurrent.Coordinate.once
Std.Concurrent.Coordinate.Once[T]A value not yet computed.
- Std.Concurrent.Coordinate.peek
&Std.Concurrent.Coordinate.Once[T] -> Option[T]The value if it has been computed.
- Std.Concurrent.Coordinate.resolve
&Std.Concurrent.Coordinate.Once[T] -> fn() -> T -> Result[T, Std.Concurrent.Coordinate.CoordinateError]The value, computing it with
initif no caller has yet.initruns on a
