@Override
    default @Nullable Map<@NonNull Context, @NonNull Result> handle(final @NonNull Chunked context) {
        if (!context.isCompleted()) {
            this.handleRequests(context.remaining()).forEach(context::storeResult);
        }
        if (context.isCompleted()) {
            return context.availableResults();
        }
        return null;
    }
Service type that allows service to generate partial results for bigger requests

@param <Context> Context type
@param <Result>  Result type
@param <Chunked> Chunk request context
cloud-services/src/main/java/org/incendo/cloud/services/type/PartialResultService.java