Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iboard/state_server
Convenience macros for using GenServer without the boilerplate
https://github.com/iboard/state_server
Last synced: 16 days ago
JSON representation
Convenience macros for using GenServer without the boilerplate
- Host: GitHub
- URL: https://github.com/iboard/state_server
- Owner: iboard
- License: mit
- Created: 2022-02-26T13:06:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T13:47:58.000Z (almost 3 years ago)
- Last Synced: 2024-12-12T10:48:48.460Z (22 days ago)
- Language: Elixir
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# StateServer
[![Documentation](https://img.shields.io/badge/docs-hexpm-blue.svg)](http://hexdocs.pm/ax_webclient/)
[![Elixir CI](https://github.com/iboard/state_server/actions/workflows/elixir.yml/badge.svg)](https://github.com/iboard/state_server/actions/workflows/elixir.yml)A simple wrapper around GenServer.
There is a lot of annoying boilerplate when you're about to use GenServer. This project
brings you some macro-sugar to simplify your GenServers and get rid of all that boilerplate.## Installation
It's [available in Hex][1], the package can be installed
by adding `ax_stateserver` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:state_server, "~> 0.1.0", hex: :ax_stateserver}
]
end
```## Hex package
-
- Notice: the hex-package is named `ax_stateserver` where the mix-project is named just
`StateServer`. This is because of a name clash of `state_server` on hex.pm.[1]: https://hex.pm/docs/publish