~umgeher/utfs-core

14c24ebfddc838e7186cc585784bffbdaf9b8aab — Umgeher Torgersen 11 months ago 4a10f99
tl_add is not required anymore
1 files changed, 0 insertions(+), 10 deletions(-)

D src/utfs_core_tl_add.erl
D src/utfs_core_tl_add.erl => src/utfs_core_tl_add.erl +0 -10
@@ 1,10 0,0 @@
-module(utfs_core_tl_add).

-export([add/2]).

add(Timeline, TS, Event) when is_binary(Timeline), is_integer(TS) ->
    {ok, TSNow} = utos_datetime:timestamp_ms(),
    TS_ = erlang:integer_to_binary(TS),
    {ok, set} = utfs_core:tl_set(Timeline, <<"e", TS_/binary>>, Value),
    utfs_core:local_notify({tl, add, Timeline, <<"e", TS_/binary>>}),
    {ok, {set, <<"e", TS_/binary>>}}.