You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thank you for this fine library. I'm wondering about how to use hworker in two different places. The code I'm working on needs to be able to send a message to a queue which is then processed by a hworker. The code adding the message to the queue is in a different location then the one processing it. Both are written in Haskell and both would be talking to the same redis Database. I'm wondering how this would be implemented. Could I have identical data structures on both ends and then push a job into a queue and then the hworker pulls that out of the queue?
So both places declare
data SomeType = A | B deriving (Generic, Show)
location A: push SomeType into message queue
location B: pull SomeType out of message queue and work with it
Activity
naglalakk commentedon Dec 13, 2017
I'm closing this because I see I can just push json into the same redis database as stated in the documentation
Merge pull request #3 from remeike/batch-jobs