mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Merge branch 'minor-next' into major-next
This commit is contained in:
@ -62,6 +62,7 @@ class AsyncPoolTest extends TestCase{
|
||||
}
|
||||
|
||||
public function testThreadSafeSetResult() : void{
|
||||
/** @phpstan-var PromiseResolver<ThreadSafeArray<array-key, mixed>> $resolver */
|
||||
$resolver = new PromiseResolver();
|
||||
$resolver->getPromise()->onCompletion(
|
||||
function(ThreadSafeArray $result) : void{
|
||||
|
Reference in New Issue
Block a user