Currently react-jobs (which is awesome btw - thank you very much!) can either work on the server or the client. Sometimes I find myself needing both! Would it possible to implement both at once? I could see usage as such:
const withJob({
work: {
server: () => 'do a jobbie',
client: () => 'do a client jobbie'
},
)}
or
const withJob({
workServer: () => 'do a jobbie',
workClient: () => 'do a client jobbie',
)}
shouldWorkAgain and jobstatus could then work in a similar way!
Currently react-jobs (which is awesome btw - thank you very much!) can either work on the server or the client. Sometimes I find myself needing both! Would it possible to implement both at once? I could see usage as such:
or
shouldWorkAgain and jobstatus could then work in a similar way!