Ref
The Ref module provides thread-safe mutable state handles.
Core type
FsFlow.Ref: Represents a handle to a mutable reference that can be updated atomically.
Module functions
FsFlow.RefModule.make: Creates a newRefwith the initial value.FsFlow.RefModule.get: Reads the current value of the reference.FsFlow.RefModule.set: Sets the value of the reference to the specified value.FsFlow.RefModule.update: Updates the value of the reference using the supplied function.FsFlow.RefModule.modify: Updates the value of the reference using the supplied function and returns a derived value.