We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434241c commit e5f4a78Copy full SHA for e5f4a78
runtime/wasm/main.go
@@ -29,6 +29,7 @@ func main() {
29
k := wanix.New()
30
k.AddModule("#web", web.New(k, inst))
31
k.AddModule("#pipe", &pipe.Allocator{})
32
+ k.AddModule("#|", &pipe.Allocator{}) // alias for #pipe
33
34
root, err := k.NewRoot()
35
if err != nil {
@@ -38,7 +39,7 @@ func main() {
38
39
root.Bind("#task", "task")
40
root.Bind("#cap", "cap")
41
root.Bind("#web", "web")
- root.Bind("#pipe", "#console")
42
+ root.Bind("#|", "#console")
43
44
bundleBytes := inst.Get("bundle")
45
if !bundleBytes.IsUndefined() {
0 commit comments