diff --git a/src/Service/Provider/ProviderInterface.php b/src/Service/Provider/ProviderInterface.php index 015b559..c8203f8 100644 --- a/src/Service/Provider/ProviderInterface.php +++ b/src/Service/Provider/ProviderInterface.php @@ -6,8 +6,11 @@ namespace App\Service\Provider; interface ProviderInterface { + /** Fire the HTTP request(s) without blocking; returns an opaque handle for resolveFetch(). */ + public function startFetch(): mixed; + /** @return array date (Y-m-d) => contribution count */ - public function fetch(): array; + public function resolveFetch(mixed $handle): array; public function isConfigured(): bool;