SupplyChain interface #15

Open
binocarlos opened this Issue Nov 20, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

binocarlos commented Nov 20, 2013

Properly spec the SupplyChain interface - roughly as follows:

functions

  • supplychain - function(req, res)
  • supplychain.radio.listen - function(channel, fn)
  • supplychain.radio.broadcast - function(channel, packet)

events

  • 'ready' - when the supplychain is ready for requests - triggered only once
  • 'connected' - when the supplychain connects
  • 'disconnected' - when the supplychain disconnects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment