# `Electric.ShapeCache.ShapeStatusOwner`
[🔗](https://github.com/electric-sql/electric/tree/%40core/sync-service%401.6.2/packages/sync-service/lib/electric/shape_cache/shape_status_owner.ex#L1)

Owns the ETS table and the ShapeStatus state.

This process creates the ETS table for shapes and initializes
`Electric.ShapeCache.ShapeStatus` early in the supervision tree so that
dependent processes (e.g., shape consumers) can use a single, shared
ShapeStatus instance regardless of their own supervisor start order.

Initialization is done asynchronously via `handle_continue` to avoid
blocking the supervision tree startup on potentially slow SQLite reads.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `name`

# `refresh`

Refresh shape metadata from SQLite after lock acquisition.

Uses an infinite timeout because on laggy storage with an incorrectly
shut-down database this can take a long time.

# `start_link`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
