diff options
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index e55070637a..78bf7e3873 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -80,11 +80,11 @@ -type(log_location() :: 'tty' | 'undefined' | string()). -type(file_suffix() :: binary()). +-type(boot_step() :: {{atom(), {atom(), 0}}, [{atom(), any()}]}). -spec(prepare/0 :: () -> 'ok'). -spec(start/0 :: () -> 'ok'). --spec(finish_boot/1 :: ([any()]) -> 'ok'). --spec(run_boot_steps/0 :: () -> 'ok'). +-spec(finish_boot/1 :: ([boot_step()]) -> 'ok'). -spec(stop/0 :: () -> 'ok'). -spec(stop_and_halt/0 :: () -> 'ok'). -spec(rotate_logs/1 :: (file_suffix()) -> 'ok' | {'error', any()}). |
