GenAI.Approval.Permission.Store.ETS (GenAI Approval v0.1.0)

Copy Markdown View Source

Default in-memory rule store.

Start it under a supervisor ({Store.ETS, name: MyStore}) or create a caller-owned table with new/0 in tests. Expired {:until, _} rules are pruned lazily on read.

Summary

Functions

Returns a specification to start this module under a supervisor.

Create an anonymous caller-owned table (tests).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

new()

Create an anonymous caller-owned table (tests).

start_link(opts \\ [])