h-REA / hREA

A ValueFlows / REA economic network coordination system implemented on Holochain and with supplied Javascript GraphQL libraries
https://docs.hrea.io
Other
143 stars 15 forks source link

Wire up Holochain signalling API to GraphQL subscriptions #47

Open pospi opened 5 years ago

pospi commented 5 years ago

This will require:

pospi commented 3 years ago

First step of this just implemented; see 910d1c8

pospi commented 3 years ago

May be a relevant pattern, but only skimming- https://hackernoon.com/the-hybrid-strategy-for-graphql-subscriptions-dd5471c45755

pospi commented 1 year ago

Have begun this work based on signal passing & agent subscription patterns used in Acorn-

https://github.com/lightningrodlabs/acorn/blob/1a85f1a5e4154da6955686e72f640d0b34c5be99/happ/zomes/profiles/src/lib.rs#L16 https://github.com/lightningrodlabs/hdk_crud/blob/bb7bd99b3fe7ef37acfe0de6dc12a35c31a64fcf/src/crud.rs#L243

hREA will maintain a separation of concerns between fetching the agent list and sending peer updates; such that alternative models for peer discovery other than a Cell-wide AgentPubKey broadcast can be implemented. It should be feasible to plug this functionality at DNA bundling time with utility coordinator zomes which define various init() logic.