Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
VennDev authored Jul 11, 2023
1 parent 3b63ab9 commit 17edab5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/vennv/vapm/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,12 @@ private function checkStatus(array $callbacks, mixed $return) : void
if (!is_null($queue1))
{
$queue1->then($callable);
$queue1->catch($this->callbackReject);
}
elseif (!is_null($queue2))
{
$queue2->then($callable);
$queue2->catch($this->callbackReject);
}

unset($callbacks[$case]);
Expand Down
6 changes: 3 additions & 3 deletions src/vennv/vapm/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static function fetch(string $url, array $options = []) : Promise
{
$resolve($result);
}
}, 0);
}, 500);
});
}

Expand All @@ -143,8 +143,8 @@ public static function read(string $path) : Promise
{
$resolve($ch);
}
}, 0);
}, 500);
});
}

}
}

0 comments on commit 17edab5

Please sign in to comment.