componentized/directory

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

kitchen-sink:everything

component dev

A development build of the component. Synthetic: not published to any registry.

Imports

Exports

WIT

package root:component;

world root {
  import kitchen-sink:types/primitives@0.1.0;
  /// Resources and each kind of function on them.
  import pictures: kitchen-sink:types/resources@0.1.0;
  import inline: interface {
    ping: func() -> bool;
  }
  import log: func(message: string);
  import sleep: async func(ms: u64);

  export run: func(args: list<string>) -> result;
  export serve: async func() -> result<_, string>;
  export kitchen-sink:extras/greeter@0.1.0;
  export kitchen-sink:types/concurrency@0.1.0;
}