Преглед изворни кода

Use maps for child spec example

pull/1789/head
Peter Saxton пре 7 година
committed by GitHub
родитељ
комит
6bcbbf7526
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      priv/templates/sup.erl

+ 2
- 1
priv/templates/sup.erl Прегледај датотеку

@ -26,7 +26,8 @@ start_link() ->
%% Supervisor callbacks
%%====================================================================
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
%% Child :: #{id => Id, start => {M, F, A}}
%% Optional keys are restart, shutdown, type, modules.
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.

Loading…
Откажи
Сачувај