You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preferably you'd be able to insert the entire Mnemonix DSL into a module, in addition to the singleton variant. Something like Mnemonix.API and Mnemonix.API.Singleton.
Ideally start_link would be overridable and the implementation would do more than just defer to Mnemonix, but instead make the direct GenServer calls. So the Mnemonix module would eat our own dogfood here and simply use Mnemonix.API.
This would mostly be hiding and extending the Mnemonix API inside a library offering like Phoenix.CacheStore or something that could add extra use-case specific functions.
Needs to be determined how this would play with #9 if both were implemented.
The text was updated successfully, but these errors were encountered:
Currently there's the hidden
Mnemonix.Singleton
that kind of does this.Preferably you'd be able to insert the entire
Mnemonix
DSL into a module, in addition to the singleton variant. Something likeMnemonix.API
andMnemonix.API.Singleton
.Ideally
start_link
would be overridable and the implementation would do more than just defer toMnemonix
, but instead make the direct GenServer calls. So theMnemonix
module would eat our own dogfood here and simplyuse Mnemonix.API
.This would mostly be hiding and extending the Mnemonix API inside a library offering like
Phoenix.CacheStore
or something that could add extra use-case specific functions.Needs to be determined how this would play with #9 if both were implemented.
The text was updated successfully, but these errors were encountered: