[WIP] Fix spec

This commit is contained in:
Andrey Mayorov 2018-06-25 17:49:32 +03:00
parent ab7b9fa060
commit 7a8588f327

View File

@ -97,17 +97,16 @@ backend() ->
-type ts_ev(T) ::
{ev, timestamp(), T}.
-type ev() :: ts_ev(
-type ev() ::
{created, withdrawal()} |
{status_changed, status()} |
ff_withdrawal:ev()
).
ff_withdrawal:ev() .
-type auxst() ::
#{ctx => ctx()}.
-type machine() :: machinery:machine(ev(), auxst()).
-type result() :: machinery:result(ev(), auxst()).
-type machine() :: machinery:machine(ts_ev(ev()), auxst()).
-type result() :: machinery:result(ts_ev(ev()), auxst()).
-type handler_opts() :: machinery:handler_opts(_).
-spec init({[ev()], ctx()}, machine(), _, handler_opts()) ->