From f613f64610318c32a454cb8ed59c5645f62cdbb9 Mon Sep 17 00:00:00 2001 From: Raimo Niskanen Date: Mon, 25 Feb 2019 13:32:21 +0100 Subject: Fix links within gen_statem doc --- lib/stdlib/doc/src/gen_statem.xml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml index 0a7619baf5..5723db5b23 100644 --- a/lib/stdlib/doc/src/gen_statem.xml +++ b/lib/stdlib/doc/src/gen_statem.xml @@ -1702,7 +1702,11 @@ handle_event(_, _, State, Data) ->

- If option {timeout,Time} is present in + If option + + {timeout,Time} + + is present in Opts, the gen_statem is allowed to spend Time milliseconds initializing or it terminates and the start function returns @@ -1710,23 +1714,33 @@ handle_event(_, _, State, Data) ->

-

If option{hibernate_after,HibernateAfterTimeout} is present, the gen_statem - process awaits any message for HibernateAfterTimeout milliseconds and - if no message is received, the process goes into hibernation automatically - (by calling proc_lib:hibernate/3). +

If option + + {hibernate_after,HibernateAfterTimeout} + + is present, the gen_statem + process awaits any message for HibernateAfterTimeout milliseconds and + if no message is received, the process goes into hibernation automatically + (by calling proc_lib:hibernate/3).

If option - {debug,Dbgs} + + {debug,Dbgs} + is present in Opts, debugging through sys is activated.

- If option {spawn_opt,SpawnOpts} is present in + If option + + {spawn_opt,SpawnOpts} + + is present in Opts, SpawnOpts is passed as option list to erlang:spawn_opt/2, -- cgit v1.2.3