https://github.com/erlangsters/worker
The re-implemented 'gen_server' behavior for modern distribution of Erlang without the OTP framework.
https://github.com/erlangsters/worker
beam elixir erlang erlang-otp gen-server otp-framework
Last synced: 2 months ago
JSON representation
The re-implemented 'gen_server' behavior for modern distribution of Erlang without the OTP framework.
- Host: GitHub
- URL: https://github.com/erlangsters/worker
- Owner: erlangsters
- License: mit
- Created: 2024-12-16T18:02:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-27T11:21:15.000Z (12 months ago)
- Last Synced: 2025-09-14T21:37:24.649Z (9 months ago)
- Topics: beam, elixir, erlang, erlang-otp, gen-server, otp-framework
- Language: Erlang
- Homepage: https://about.erlangsters.org
- Size: 836 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Worker Behavior (aka 'gen_server')
[](https://github.com/erlangsters/worker)



[](https://github.com/erlangsters/worker/actions/workflows/workflow.yml)
[](http://erlangsters.github.io/worker/)
A re-implementation of the `gen_server` behavior (from the OTP framework) for
the OTPless distribution of Erlang, named `worker`.
:construction: It's a work-in-progress, use at your own risk.
Written by the Erlangsters [community](https://www.erlangsters.org/) and
released under the MIT [license](https://opensource.org/license/mit).
## Getting started
XXX: To be written.
## Using it in your project
With the **Rebar3** build system, add the following to the `rebar.config` file
of your project.
```
{deps, [
{worker, {git, "https://github.com/erlangsters/worker.git", {tag, "master"}}}
]}.
```
If you happen to use the **Erlang.mk** build system, then add the following to
your Makefile.
```
BUILD_DEPS = worker
dep_worker = git https://github.com/erlangsters/worker master
```
In practice, you want to replace the branch "master" with a specific "tag" to
avoid breaking your project if incompatible changes are made.