Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Create a websocket driver #43

Open
1 task
tonyhb opened this issue Jan 13, 2017 · 0 comments
Open
1 task

Create a websocket driver #43

tonyhb opened this issue Jan 13, 2017 · 0 comments

Comments

@tonyhb
Copy link
Owner

tonyhb commented Jan 13, 2017

In order to get live feeds for data we should create a websocket component.

Questions:

  • How do we differentiate feeds within queries and source definitions?

If the websocket endpoint returns a live feed for use with subscriptions (#35) we should indicate that the source definition returns a feed:

manager.fromSocket([
  {
    meta: {
      url: '/api/v0/eents',
      // tbd... 
  },
  returns: Event.feed(), // TBD: is this a feed for a single item or a list of items?
])
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant