aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-12-04 12:01:20 +0100
committerGitHub <[email protected]>2017-12-04 12:01:20 +0100
commit5c2a0f31c5a2af422607e64da65e2db90f5cb720 (patch)
treef67a2d5eb15bdf1505921991e5bfc496bbd2ab1a /lib/stdlib
parentd754c56939926cd67c73fe5cf46df955289ffd5d (diff)
parentcddcc92927fb361643ec122df59c7fcb688515df (diff)
downloadotp-5c2a0f31c5a2af422607e64da65e2db90f5cb720.tar.gz
otp-5c2a0f31c5a2af422607e64da65e2db90f5cb720.tar.bz2
otp-5c2a0f31c5a2af422607e64da65e2db90f5cb720.zip
Merge pull request #1646 from tsloughter/hibernate_after_spec
add hibernate_after to the gen options type spec
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/gen.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/gen.erl b/lib/stdlib/src/gen.erl
index 33af0aed8f..4b1d448487 100644
--- a/lib/stdlib/src/gen.erl
+++ b/lib/stdlib/src/gen.erl
@@ -49,6 +49,7 @@
| {'logfile', string()}.
-type option() :: {'timeout', timeout()}
| {'debug', [debug_flag()]}
+ | {'hibernate_after', timeout()}
| {'spawn_opt', [proc_lib:spawn_option()]}.
-type options() :: [option()].