aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2017-11-27 12:12:20 -0800
committerTristan Sloughter <[email protected]>2017-11-28 07:50:06 -0800
commitcddcc92927fb361643ec122df59c7fcb688515df (patch)
tree5dc1b1d6935341fec79d5265bee4cdb8fbd856f7 /lib/stdlib/src/gen.erl
parenta81768123c15dfe3bdc647ab8edb4fc4c3509819 (diff)
downloadotp-cddcc92927fb361643ec122df59c7fcb688515df.tar.gz
otp-cddcc92927fb361643ec122df59c7fcb688515df.tar.bz2
otp-cddcc92927fb361643ec122df59c7fcb688515df.zip
add hibernate_after to the gen options type spec
Diffstat (limited to 'lib/stdlib/src/gen.erl')
-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()].