mirror of
https://github.com/danog/file.git
synced 2024-11-30 04:19:39 +01:00
c6e6c32aaf
Dropping strict types so it is not enforced in callbacks provided by application code.
13 lines
320 B
PHP
13 lines
320 B
PHP
<?php
|
|
|
|
namespace Amp\File\Test;
|
|
|
|
class BlockingHandleTest extends HandleTest {
|
|
protected function lRun(callable $cb) {
|
|
\Interop\Async\Loop::execute(function() use ($cb) {
|
|
\Amp\File\filesystem(new \Amp\File\BlockingDriver);
|
|
\Amp\rethrow(new \Amp\Coroutine($cb()));
|
|
});
|
|
}
|
|
}
|