TritonDataCenter / node-workflow

Task orchestration, creation and running using NodeJS
MIT License
456 stars 66 forks source link

Reading a SSE EventSource URL #123

Open edwin-bluekite opened 9 years ago

edwin-bluekite commented 9 years ago

Hi, I need to include a text/event-stream call in the workflow and I end with two questions:

  1. I search how to make a text/event-stream request with restify client, but I didn't find any documentation. You think that restify client could be used for execute the request?
  2. The https://github.com/aslakhellesoy/eventsource-node module can be integrated to the tool, to support text/event-stream requests?

eaz.

kusor commented 9 years ago

Hi edwin,

you can integrate whatever the module you need into the workflow, just need to specify it into the config file. For example: https://github.com/kusor/node-workflow-example/blob/master/config.redis.json#L19-L23.