derekkraan / delta_crdt_ex

Use DeltaCrdt to build distributed applications in Elixir
MIT License
493 stars 36 forks source link

Can't provide GenServer options to DeltaCrdt #49

Open hissssst opened 4 years ago

hissssst commented 4 years ago

I can write the PR

hissssst commented 4 years ago

@derekkraan ping

derekkraan commented 4 years ago

Hi, maybe you can elaborate on what this means?

hissssst commented 4 years ago
GenServer.option() ::
  {:debug, debug()}
  | {:name, name()}
  | {:timeout, timeout()}
  | {:spawn_opt, Process.spawn_opt()}
  | {:hibernate_after, timeout()}

It would be nice to be able to pass these options to DeltaCrdt.start_link

derekkraan commented 4 years ago

Ah ok. Should be a short PR I think, and I would merge that.