componentized

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

A counter.

Functions

functionget: func() -> u32

The current count.

WIT

/// A counter.
interface counter {
  /// The current count.
  get: func() -> u32;
}