holochain-open-dev / holochain-open-dev/holoom
Generalise zome request/callback pattern
Open
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
The processes for requesting `ExternalIdAttestation`s and `SignedEvmU256Array` duplicate much logic for:
- messaging a request ingestor
- bubbling that request to some provider
- calling back with the outcome
- a TS wrapper that turns this round trip into a promise.
The implementation could be refactored into a reusable pattern. Also it could be refined further by considering:
- When is it appropriate to signal rather than call a zome?
- How to handle cap grants
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.