Toolnexus.Serve.TaskStore behaviour (toolnexus v0.9.4)

Copy Markdown View Source

Pluggable Task persistence: get(store, id) and save(store, task).

Summary

Callbacks

get(store, id)

@callback get(store :: struct(), id :: String.t()) :: map() | nil

save(store, task)

@callback save(store :: struct(), task :: map()) :: any()