1 2 3 4 5 6 7 8 9 10 11
package foo:foo; interface store { get: func(key: string) -> option<string>; set: func(key: string, value: string); } world cache { import hot-cache: store; import durable: store; }