Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
2793-Fix-docs-on-gen_event-optional-callback.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2793-Fix-docs-on-gen_event-optional-callback.patch of Package erlang
From fd22d95373d145c054c9ba9085e67cd6277bd826 Mon Sep 17 00:00:00 2001 From: Brujo Benavides <elbrujohalcon@gmail.com> Date: Wed, 24 Oct 2018 09:14:37 -0300 Subject: [PATCH] Fix docs on gen_event optional callback It returns `ok`, instead of `noreply`. --- lib/stdlib/doc/src/gen_event.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml index f793ec7fdf..fc34e51216 100644 --- a/lib/stdlib/doc/src/gen_event.xml +++ b/lib/stdlib/doc/src/gen_event.xml @@ -775,7 +775,7 @@ gen_event:stop -----> Module:terminate/2 <p>This callback is optional, so callback modules need not export it. The <c>gen_event</c> module provides a default implementation of this function that logs about the unexpected - <c>Info</c> message, drops it and returns <c>{noreply, State}</c>.</p> + <c>Info</c> message, drops it and returns <c>{ok, State}</c>.</p> </note> <p>This function is called for each installed event handler when an event manager receives any other message than an event or -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor