-spec enqueue(binary(), map()) -> {ok, term()} | {error, term()}.
-spec max_attempts(map()) -> pos_integer().
-spec perform(map()) -> ok.
-spec priority() -> integer().
-spec queue() -> binary().