mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
add p2p support for HLS https://github.com/Novage/p2p-media-loader
This commit is contained in:
parent
64c36d9f4e
commit
0d0338876d
1197 changed files with 121461 additions and 179724 deletions
11
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
11
node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
|
@ -1,18 +1,15 @@
|
|||
function _asyncIterator(iterable) {
|
||||
var method,
|
||||
async,
|
||||
sync,
|
||||
retry = 2;
|
||||
|
||||
async,
|
||||
sync,
|
||||
retry = 2;
|
||||
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) {
|
||||
if (async && null != (method = iterable[async])) return method.call(iterable);
|
||||
if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable));
|
||||
async = "@@asyncIterator", sync = "@@iterator";
|
||||
}
|
||||
|
||||
throw new TypeError("Object is not async iterable");
|
||||
}
|
||||
|
||||
function AsyncFromSyncIterator(s) {
|
||||
function AsyncFromSyncIteratorContinuation(r) {
|
||||
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object."));
|
||||
|
@ -24,7 +21,6 @@ function AsyncFromSyncIterator(s) {
|
|||
};
|
||||
});
|
||||
}
|
||||
|
||||
return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) {
|
||||
this.s = s, this.n = s.next;
|
||||
}, AsyncFromSyncIterator.prototype = {
|
||||
|
@ -46,5 +42,4 @@ function AsyncFromSyncIterator(s) {
|
|||
}
|
||||
}, new AsyncFromSyncIterator(s);
|
||||
}
|
||||
|
||||
module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
Loading…
Add table
Add a link
Reference in a new issue