Consolidate data source calls in 1, mockable, module.
[beam_stats.git] / src / beam_stats_ets.erl
1 -module(beam_stats_ets).
2
3 -export_type(
4 [ t/0
5 ]).
6
7 -export(
8 [ collect/0
9 ]).
10
11 -type t() ::
12 [beam_stats_ets_table:t()].
13
14 -spec collect() ->
15 t().
16 collect() ->
17 TableIDs = beam_stats_source:ets_all(),
18 lists:map(fun beam_stats_ets_table:of_id/1, TableIDs).
This page took 0.064208 seconds and 4 git commands to generate.