A counter released over three major versions, to show how the directory lists and compares a package's versions.
A synthetic package: it isn't published to any registry.
Interfaces
counter— A counter, counting up from zero by any amount, or back to it.
WIT
/// A counter released over three major versions, to show how the directory lists and
/// compares a package's versions.
///
/// A synthetic package: it isn't published to any registry.
package kitchen-sink:releases@2.0.0;
/// A counter, counting up from zero by any amount, or back to it.
interface counter {
/// The current count, now wide enough to never wrap.
get: func() -> u64;
/// Sets the count back to zero.
reset: func();
/// Adds to the count.
add: func(n: u64);
}