Kino.ETS (Kino v0.1.3) View Source

A widget for interactively viewing an ETS table.

Examples

tid = :ets.new(:users, [:set, :public])
Kino.ETS.start(tid)

Kino.ETS.start(:elixir_config)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a widget process representing the given ETS table.

Link to this section Types

Specs

t() :: %Kino.ETS{pid: pid()}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

start(:ets.tid()) :: t()

Starts a widget process representing the given ETS table.

Note that private tables cannot be read by an arbitrary process, so the given table must have either public or protected access.