DevPlaceApp
#pragma once
// Spec: async API shape. Every async call takes a Done<T> callback and returns a CancelPtr.
// Callbacks run on the SDL main thread (UiQueue); a cancelled call never calls back.
#include <functional>
#include "core/Result.hpp"
#include "net/HttpTypes.hpp"
namespace dp {
template <class T>
using Done = std::function<void(Result<T>)>;
} // namespace dp