Skip to content

Invokes call, cast or stop with a GenServer registered via a server ID. Will wait a bit if the GenServer is not yet registered on restarts.

Notifications You must be signed in to change notification settings

RaymondLoranger/gen_server_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenServer Proxy

Invokes the following functions with a GenServer registered via a server ID:

  • GenServer.call/3
  • GenServer.cast/2
  • GenServer.stop/3

Will wait a bit if the GenServer is not yet registered on restarts. Note this is an assumption as the GenServer may have never started.

Installation

If available in Hex, the package can be installed by adding gen_server_proxy to your list of dependencies in mix.exs:

def deps do
  [
    {:gen_server_proxy, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/gen_server_proxy.

About

Invokes call, cast or stop with a GenServer registered via a server ID. Will wait a bit if the GenServer is not yet registered on restarts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages