Tags: Feuerlabs/exo
Tags
exo_socket_sessions support idle timeout The callback module can now return e.g. {noreply, St, Timeout}, which will cause the socket session process to keep track of an gen_server-style idle timeout. Resetting the timeout is done by returning {noreply, St, undefined} | {reply, Rep, St, undefined}, that is, you don't have to remember to return the timeout every time.
PreviousNext