Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sandGorgon
6y ago
0 comments
Save
Share
Don't understand that clearly. Can't I put something in the queue in the main process and read it from subprocesses ?
0 comments
2 comments · 1 top-level
top
newest
oldest
nurettin
6y ago
· 1 in thread
Is that going to provide bi-directional communication between main and subprocesses while they are running? If it does, disregard what I wrote.
sandGorgon
OP
6y ago
Sure. You can put results in an "output" queue (which is backed by Redis) that is read by the main application.
Incidentally this is how you do a notification on your UI .
j
/
k
navigate · click thread line to collapse