Update brain.mjs
This commit is contained in:
parent
bc9685a12b
commit
170f2f43cd
1 changed files with 1 additions and 1 deletions
|
@ -65,10 +65,10 @@ class ConsciousnessApp {
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const minibrain = new ConsciousnessApp();
|
const minibrain = new ConsciousnessApp();
|
||||||
await minibrain.simulator.startDreaming();
|
|
||||||
|
|
||||||
// Run all asynchronous functions concurrently
|
// Run all asynchronous functions concurrently
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
minibrain.simulator.startDreaming(),
|
||||||
minibrain.intentUpdater(),
|
minibrain.intentUpdater(),
|
||||||
minibrain.thinker(),
|
minibrain.thinker(),
|
||||||
minibrain.asker()
|
minibrain.asker()
|
||||||
|
|
Loading…
Reference in a new issue