Kino.ETS (Kino v0.2.0) View Source

A widget for interactively viewing an ETS table.

Examples

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

Kino.ETS.new(: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.

start(tid) deprecated

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

new(: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.

This function is deprecated. Use Kino.ETS.new/1 instead.