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 8f25ba7 commit 215c456Copy full SHA for 215c456
source/ports/go_port/source/README.md
@@ -52,9 +52,10 @@ func main() {
52
fmt.Println(str)
53
}
54
55
- // Calling async function in typescript
+ // Calling async function in TypeScript
56
var sum int
57
var wg sync.WaitGroup
58
+ // WaitGroup is not necessary, the promise can be chained or pass value in ctx for executing res.Send(...)
59
wg.Add(1)
60
_, err := metacall.Await("sum",
61
func(value interface{}, ctx interface{}) interface{} {
0 commit comments