A counter, counting up from zero.
Functions
get: func() -> u32
The current count.
WIT
/// A counter, counting up from zero.
interface counter {
/// The current count.
get: func() -> u32;
}
Synthetic sample. This package shows how the directory renders each WIT feature. It isn't published to any registry.
kitchen-sink:releases/counter@0.1.1A counter, counting up from zero.
get: func() -> u32The current count.
/// A counter, counting up from zero.
interface counter {
/// The current count.
get: func() -> u32;
}