wit-component 0.257.1

Tooling for working with `*.wit` and component files together.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package foo:foo;

interface bar {
  foo: async func(s: string) -> string;
}

world module {
  import a: func() -> future<u32>;
  import b: func() -> stream<u32>;
  import c: func() -> future<string>;
  import d: func() -> stream<string>;

  export bar;
  export foo: async func(s: string) -> string;
}