Replies: 1 comment 1 reply
-
@michaelfig help me out here? what does |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently utilizing the zone API to establish a durable zone that I can refer to when creating a
setStore
,mapStore
, etc. This method of store creation seemingly matches my use-case—at least, that's the assumption I've made. Upon encountering the use of detached in the router implementation found in@agoric/network
, I realized my knowledge regarding the use of zone.detached() was nonexistent, thus leading me to open this discussion.Below is the code from the
@agoric/network
that led me to create this.agoric-sdk/packages/network/src/router.js
Lines 108 to 138 in c74c628
I'm curious to understand more about zone.detached(), how stores cultivated with detached zones differ from those shaped with the top-level
setStore
,mapStore
, and the circumstances in which it would be apt to opt for one technique over the other.Keywords: zone, setStore, mapStore, storage
Beta Was this translation helpful? Give feedback.
All reactions