Skip to content

Experimenting with running the agents inside of the node process

Notifications You must be signed in to change notification settings

buggerjs/embedded-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embedded-agents

+--------------+ +---------------+
|      IO      | | Target (main) |
+--------------+ +---------------+
  enque(msg) -----> on('msg') // while running
                    msg = poll() // while paused
  dispatch(msg) <-- enque(msg)
  1. Never parse messages in IO thread
  2. Transfer line-by-line to main thread
  3. Have smart logic that manages the queue polling

About

Experimenting with running the agents inside of the node process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages