Wait for readyness before sending msg to subproc
This commit is contained in:
parent
7c142aa4dd
commit
38e374c329
1 changed files with 3 additions and 1 deletions
|
|
@ -387,7 +387,9 @@ function createReplica(path, afterMap = false) {
|
|||
path,
|
||||
type: 'load'
|
||||
}
|
||||
isReady().then(() => {
|
||||
currentGun.send(msg)
|
||||
})
|
||||
}
|
||||
return this
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue