componentized

Synthetic sample. This package shows how the directory renders each WIT feature. It isn't published to any registry.

A counter, counting up from zero.

Functions

functionget: func() -> u32

The current count.

WIT

/// A counter, counting up from zero.
interface counter {
  /// The current count.
  get: func() -> u32;
}