Skip to content

Add GenServer Elixir module #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bettio opened this issue Mar 30, 2022 · 1 comment · May be fixed by #1476
Open

Add GenServer Elixir module #265

bettio opened this issue Mar 30, 2022 · 1 comment · May be fixed by #1476
Labels
lib:exavmlib Elixir AtomVM library meta This issue is a "macro" issue, therefore it depends on a number of tasks

Comments

@bettio
Copy link
Collaborator

bettio commented Mar 30, 2022

A limited number of function of this module should be chosen and implemented.
An issue for each group of related functions should be opened.

@bettio bettio added lib:exavmlib Elixir AtomVM library meta This issue is a "macro" issue, therefore it depends on a number of tasks labels Mar 30, 2022
@petermm
Copy link
Contributor

petermm commented May 31, 2024

A gist for GenServer.ex is here https://gist.github.com/petermm/1c5eda55bbd024c4f1f331e23222b360 pending #1176

copy/pasted from Elixir source and adapted. will document steps better, out-commented code left in there intentionally..

  1. :gen module is not available, so calling :gen_server instead
  2. no distributed erlang

more than likely something missing and or completely wrong at the moment.. will look into getting a test suite running.

Tested successfully by running https://github.com/elixir-circuits/circuits_i2c on device.

@petermm petermm linked a pull request Apr 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:exavmlib Elixir AtomVM library meta This issue is a "macro" issue, therefore it depends on a number of tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants