diff --git a/.gitignore b/.gitignore index a2bd613..e6dbc52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /vendor/ .idea -/interfaces/ .phpunit.result.cache .phpdoc \ No newline at end of file diff --git a/composer.json b/composer.json index 3867f25..11741d3 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,8 @@ "grpc/grpc": "^v1.30.0", "ext-grpc": "*", "ext-protobuf": "*", - "amphp/http-server": "^2.1" + "amphp/http-server": "^2.1", + "amphp/parallel": "^1.4" }, "require-dev": { "ext-xdebug": "*", diff --git a/composer.lock b/composer.lock index 068c83e..8466afa 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "599673170399a564983f5354442f1c02", + "content-hash": "f7e26681b8f0d686391d2bb8ac1d2508", "packages": [ { "name": "amphp/amp", @@ -524,6 +524,74 @@ }, "time": "2020-06-20T14:40:33+00:00" }, + { + "name": "amphp/parallel", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/parallel.git", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "shasum": "" + }, + "require": { + "amphp/amp": "^2", + "amphp/byte-stream": "^1.6.1", + "amphp/parser": "^1", + "amphp/process": "^1", + "amphp/serialization": "^1", + "amphp/sync": "^1.0.1", + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^8 || ^7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Parallel\\": "lib" + }, + "files": [ + "lib/Context/functions.php", + "lib/Sync/functions.php", + "lib/Worker/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" + } + ], + "description": "Parallel processing component for Amp.", + "homepage": "https://github.com/amphp/parallel", + "keywords": [ + "async", + "asynchronous", + "concurrent", + "multi-processing", + "multi-threading" + ], + "support": { + "issues": "https://github.com/amphp/parallel/issues", + "source": "https://github.com/amphp/parallel/tree/master" + }, + "time": "2020-04-27T15:12:37+00:00" + }, { "name": "amphp/parser", "version": "v1.0.0", diff --git a/contracts b/contracts index 157a925..1f4b245 160000 --- a/contracts +++ b/contracts @@ -1 +1 @@ -Subproject commit 157a925dc367f9a2bce2c588517e0fb7da8e52a2 +Subproject commit 1f4b24567d7d81c1a1e0da373037588247c7ad95 diff --git a/docs/classes/Nitric-Api-AbstractClient.html b/docs/classes/Nitric-Api-AbstractClient.html index 40b17a7..474d690 100644 --- a/docs/classes/Nitric-Api-AbstractClient.html +++ b/docs/classes/Nitric-Api-AbstractClient.html @@ -15,6 +15,7 @@ + @@ -110,7 +111,8 @@
Class AbstractClient, provides common client class functionality and configuration.
@@ -200,7 +202,8 @@
@@ -243,7 +246,8 @@
AbstractClient.php
:
67
-
+
+
@@ -276,7 +280,8 @@
AbstractClient.php
:
68
-
+
+
@@ -313,7 +318,8 @@
AbstractClient.php
:
70
-
+
+
@@ -345,7 +351,8 @@
AbstractClient.php
:
90
-
+
+
@@ -388,7 +395,8 @@
AbstractClient.php
:
79
-
+
+
@@ -431,7 +439,8 @@
AbstractClient.php
:
108
-
+
+
Check the status returned from an autogenerate gRPC client call. If any status other than OK is detected, throw
the corresponding exception type.
@@ -462,6 +471,68 @@ Return values
+
+
+
@@ -486,5 +557,6 @@ Search results
+