Wait for readyness before sending msg to subproc

This commit is contained in:
Daniel Lugo 2021-09-17 14:37:09 -04:00
parent 7c142aa4dd
commit 38e374c329

View file

@ -387,7 +387,9 @@ function createReplica(path, afterMap = false) {
path, path,
type: 'load' type: 'load'
} }
isReady().then(() => {
currentGun.send(msg) currentGun.send(msg)
})
} }
return this return this
}, },