Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-05 | Add {continue, Term} and handle_continue/2 to gen_server | José Valim | |
If the gen_server process needs to perform an action immediately after initialization or to break the execution of a callback into multiple steps, it can return {continue, term()} in place of the time-out or hibernation value, which will immediately invoke the handle_continue/2 callback with the given term. This provides a more accessible approach to after initialization compared to proc_lib+enter_loop that is also guaranteed to be safe. It also allows callbacks that need to do lengthy or stateful work to checkpoint the state throughout multiple iterations. This can be useful, for example, when implementing behaviours on top of gen_server. | |||
2017-04-28 | Merge branch 'raimo/gen_statem-dev' | Raimo Niskanen | |
OTP-14531 Generic time-outs in gen_statem Conflicts: lib/stdlib/test/erl_internal_SUITE.erl | |||
2017-04-21 | stdlib: Make gen_statem callbacks optional | Zandra Norman | |
2017-04-21 | stdlib: Make gen_fsm callbacks optional | Zandra Norman | |
2017-04-21 | stdlib: Make gen_event callbacks optional | Zandra Norman | |
2017-04-21 | stdlib: Make gen_server callbacks optional | Zandra Norman | |
2016-03-15 | update copyright-year | Henrik Nord | |
2016-03-09 | Eliminate 'suite' and 'doc' clauses | Björn Gustavsson | |
2016-03-09 | Modernize use of timetraps | Björn Gustavsson | |
Either rely on the default 30 minutes timetrap, or set the timeout using the supported methods in common_test. | |||
2016-02-17 | Eliminate use of test_server.hrl and test_server_line.hrl | Björn Gustavsson | |
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2014-04-28 | Introduce the attribute -optional_callbacks in the context of behaviours | Hans Bolinder | |
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for stdlib | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update stdlib tests to conform with common_test standard | Lukas Larsson | |
2011-02-17 | Update all fin_per_testcase to end_per_testcase. | Lukas Larsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |