Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f0412e82ac
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.497 kB
-module(ref_dispatch_noreply).
-behaviour(dispcount).
-export([init/1, checkout/2, checkin/2, handle_info/2, dead/1,
terminate/2, code_change/3]).
init([]) ->
{ok, make_ref()}.
checkout(_From, Ref) ->
timer:sleep(infinity),
{error, denied, Ref}.
checkin(Ref, undefined) ->
{ok, Ref}.
dead(undefined) ->
{ok, make_ref()}.
handle_info(_Msg, State) ->
{ok, State}.
terminate(_Reason, _State) ->
ok.
code_change(_OldVsn, State, _Extra) ->
{ok, State}.
Jump to Line
Something went wrong with that request. Please try again.