module SharedCounter:
Creates a counter that is shared among all projects, but which is
marshalling-compliant.
Since Carbon-20101201
Parameters: |
Info |
: |
sig val name : string end
|
|
val next : unit -> int
Increments the counter and returns a fresh value
val get : unit -> int
Since Fluorine-20130401
Returns the current value of the counter, without incrementing it.
val self : State.t
Since Oxygen-20120901