Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
Support aborting in the federated client.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Oct 12, 2016
1 parent d2c63db commit aaa9477
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ FederatedFragmentsClient.prototype.getFragmentByPattern = function (pattern) {
return new CompoundFragment(fragments, this._options);
};

/** Aborts all requests. */
FederatedFragmentsClient.prototype.abortAll = function () {
this._clients.forEach(function (client) { client.abortAll(); });
};

// Creates a new compound Triple Pattern Fragment
function CompoundFragment(fragments, options) {
if (!(this instanceof CompoundFragment))
Expand Down

0 comments on commit aaa9477

Please sign in to comment.