Create an ExternalStore by resolving a service from the Effect Context.
Notes:
StateTrait.externalStore
map(service)
getSnapshot()
subscribe(listener)
Create an ExternalStore by resolving a service from the Effect Context.
Notes:
StateTrait.externalStore(resolved during install/runtime).map(service)must return a syncgetSnapshot()(no IO) and asubscribe(listener)that signals change.