jackalope
jackalope copied to clipboard
Filesystem-based persistent work list
I'm not sure about this, but is it Enum.reverse here instead of Enum.sort?
No but the code can be simplified to
if Enum.empty?(state.pending), do: nil, else: Enum.min(Map.values(state.pending))