diff options
author | Hans Bolinder <[email protected]> | 2018-01-19 10:37:06 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-01-22 15:28:51 +0100 |
commit | a92b77d7cd19947bd3896dcd96c7e389efdec2de (patch) | |
tree | 1df1ef37f818785ef87c8bf567089ff55c93c2b7 /lib/stdlib/src/gen_event.erl | |
parent | bd873955db32c470f082c3629627a10c84c9c208 (diff) | |
download | otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.gz otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.bz2 otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.zip |
stdlib: Correct contracts
Diffstat (limited to 'lib/stdlib/src/gen_event.erl')
-rw-r--r-- | lib/stdlib/src/gen_event.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index a9b98911e2..73e4457bd0 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2017. All Rights Reserved. +%% Copyright Ericsson AB 1996-2018. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -125,7 +125,8 @@ | {'logfile', string()}. -type option() :: {'timeout', timeout()} | {'debug', [debug_flag()]} - | {'spawn_opt', [proc_lib:spawn_option()]}. + | {'spawn_opt', [proc_lib:spawn_option()]} + | {'hibernate_after', timeout()}. -type emgr_ref() :: atom() | {atom(), atom()} | {'global', atom()} | {'via', atom(), term()} | pid(). -type start_ret() :: {'ok', pid()} | {'error', term()}. |