Skip to content

Commit

Permalink
Rename Concurrent to ConcurrentIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed May 6, 2020
1 parent 31b7d29 commit 71cfbd6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -35,7 +35,7 @@
},
"files": [
"src/functions.php",
"src/Concurrent/functions.php"
"src/ConcurrentIterator/functions.php"
]
},
"autoload-dev": {
Expand Down
2 changes: 1 addition & 1 deletion examples/queue.php
Expand Up @@ -4,7 +4,7 @@
use Amp\Sync\LocalSemaphore;
use function Amp\delay;
use function Amp\Promise\wait;
use function Amp\Sync\Concurrent\each;
use function Amp\Sync\ConcurrentIterator\each;

require __DIR__ . '/../vendor/autoload.php';

Expand Down
@@ -1,6 +1,6 @@
<?php

namespace Amp\Sync\Concurrent;
namespace Amp\Sync\ConcurrentIterator;

use Amp\CancelledException;
use Amp\Iterator;
Expand Down
2 changes: 1 addition & 1 deletion test/ConcurrentEachTest.php
Expand Up @@ -6,7 +6,7 @@
use Amp\PHPUnit\AsyncTestCase;
use Amp\Sync\LocalSemaphore;
use function Amp\delay;
use function Amp\Sync\Concurrent\each;
use function Amp\Sync\ConcurrentIterator\each;

class ConcurrentEachTest extends AsyncTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion test/ConcurrentFilterTest.php
Expand Up @@ -7,7 +7,7 @@
use Amp\Sync\LocalSemaphore;
use function Amp\delay;
use function Amp\Iterator\toArray;
use function Amp\Sync\Concurrent\filter;
use function Amp\Sync\ConcurrentIterator\filter;

class ConcurrentFilterTest extends AsyncTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion test/ConcurrentMapTest.php
Expand Up @@ -7,7 +7,7 @@
use Amp\Sync\LocalSemaphore;
use function Amp\delay;
use function Amp\Iterator\toArray;
use function Amp\Sync\Concurrent\map;
use function Amp\Sync\ConcurrentIterator\map;

class ConcurrentMapTest extends AsyncTestCase
{
Expand Down

0 comments on commit 71cfbd6

Please sign in to comment.