effect
effect copied to clipboard
Browser Geolocation API
Type
- [ ] Refactor
- [x] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
Description
Wrap Geolocation API with Effect https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
But I have some questions:
- Can I use
Effect.Tagfor Geolocation Tag? Or general practice to useGenericTag? - Should native error be wrapped with
PlatformError? and if so, should the original error be reflected at the type level? - Is it necessary to accumulate events as it is done in
Stream.fromEventListener?
Related
- Related Issue #
- Closes #
🦋 Changeset detected
Latest commit: 09b468b7e153abc76a2651e7b748acc43007c6dc
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @effect/platform-browser | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR