Open pospi opened 5 years ago
First step of this just implemented; see 910d1c8
May be a relevant pattern, but only skimming- https://hackernoon.com/the-hybrid-strategy-for-graphql-subscriptions-dd5471c45755
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.
This will require:
hc-web-client
Subscriptions
resolvers for the ValueFlows GraphQL schema invf-graphql-holochain
, using thehc-web-client
PubSubEngine