We need to sync before retrieving data after async computation. It is also important to ensure that the Go buffer is not moved by the GC across function calls so we do a synchronous copy. |
||
|---|---|---|
| .. | ||
| backend | ||
| nn | ||
| backend.go | ||
We need to sync before retrieving data after async computation. It is also important to ensure that the Go buffer is not moved by the GC across function calls so we do a synchronous copy. |
||
|---|---|---|
| .. | ||
| backend | ||
| nn | ||
| backend.go | ||