MCPcopy
hub / github.com/Effect-TS/effect / watchPosition

Function watchPosition

packages/platform-browser/src/Geolocation.ts:131–138  ·  view source on GitHub ↗
(
  options?:
    | PositionOptions & {
      readonly bufferSize?: number | undefined
    }
    | undefined
)

Source from the content-addressed store, hash-verified

129 * @category accessors
130 */
131export const watchPosition = (
132 options?:
133 | PositionOptions & {
134 readonly bufferSize?: number | undefined
135 }
136 | undefined
137): Stream.Stream<GeolocationPosition, GeolocationError, Geolocation> =>
138 Stream.unwrap(Effect.map(Geolocation, (geolocation) => geolocation.watchPosition(options)))

Callers

nothing calls this directly

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…