Skip to content
Snippets Groups Projects
Commit 778d54f2 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix spelling mistake

parent 7518356e
No related branches found
No related tags found
2 merge requests!67fix for latest client release,!52XX-4382 / Move indexedDb databases to web workers
......@@ -92,7 +92,7 @@ func NewWASMEventModel(path, wasmJsPath string, encryption cryptoChannel.Cipher,
}
case <-time.After(worker.ResponseTimeout):
return nil, errors.Errorf("timed out after %s waiting for indexedDB "+
"database in worker to intialize", worker.ResponseTimeout)
"database in worker to initialize", worker.ResponseTimeout)
}
return &wasmModel{wm}, nil
......
......@@ -82,7 +82,7 @@ func NewWASMEventModel(path, wasmJsPath string, encryption cryptoChannel.Cipher,
}
case <-time.After(worker.ResponseTimeout):
return nil, errors.Errorf("timed out after %s waiting for indexedDB "+
"database in worker to intialize", worker.ResponseTimeout)
"database in worker to initialize", worker.ResponseTimeout)
}
return &wasmModel{wh}, nil
......
......@@ -23,7 +23,8 @@ import (
func main() {
fmt.Println("Starting WebAssembly Worker.")
_ = worker.NewThreadManager("exampleWebWorker")
tm := worker.NewThreadManager("exampleWebWorker")
tm.SignalReady()
<-make(chan bool)
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment