« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 59 for Future (0.001 sec.)
The parallel\Future class | PHP 8.3 13290
The parallel\Future class (0.8.0) Futures A Future represents the return value or uncaught exception from a task, and exposes an API for cancellation. 例1 Example showing Future as return value <?php $runtime = new \parallel\Runtime ; $future ... re = $runtime -> run (function(){ return "World" ; }); printf ( "Hello %s\n" , $future -> value ()); ?> 上の例の出力は、 たとえば以下のようになります。 Hello World The behaviour of a future also allows it to b ... e used as a simple synchronization point even where the task does not return a value explicitly. 例2 Example showing Future as synchronization point <?php $runtime = new \parallel\Runtime ; $future = $runtime -> run (function(){ echo "in child " ... ; for ( $i = 0 ; $i < 500 ; $i ++) { if ( $i % 10 == 0 ) { echo "." ; } } echo " leaving child" ; }); $future -> value (); echo "\nparent continues\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 in child ................... ...
https://man.mtool.work/php/8.3/class.parallel-future.html
parallel\Future::value — Resolution | PHP 8.3 12371
parallel\Future::value (0.8.0) parallel\Future::value — Resolution 説明 public function parallel\Future::value (): mixed Shall return (and if necessary wait for) return from task Exceptions 警告 Shall throw parallel\Future\Error if waiting ... failed (internal error). 警告 Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed. 警告 Shall throw parallel\Future\Error\Cancelled if task was c ... ancelled. 警告 Shall throw parallel\Future\Error\Foreign if task raised an unrecognized uncaught exception. 警告 Shall rethrow Throwable uncaught in task 他のマニュア ... ルの関連ページ Python asyncio-extending Python asyncio-future Python concurrent.futures ...
https://man.mtool.work/php/8.3/parallel-future.value.html
parallel\Events::addFuture — Targets | PHP 8.3 10358
parallel\Events::addFuture (0.9.0) parallel\Events::addFuture — Targets 説明 public function parallel\Events::addFuture ( string $name , parallel\Future $future ): void Shall watch for events on the given future Exceptions 警告 Shall throw ... \Error\Existence if target with the given name was already added. 他のマニュアルの関連ページ Python asyncio-graph Python __future__ Python asyncio-future Python concurrent.futures Docker docker compose pull ...
https://man.mtool.work/php/8.3/parallel-events.addfuture.html
parallel\Future::cancel — Cancellation | PHP 8.3 10008
parallel\Future::cancel (0.9.0) parallel\Future::cancel — Cancellation 説明 public function parallel\Future::cancel (): bool Shall try to cancel the task 注意 : If task is running, it will be interrupted. 警告 Internal function calls in pro ... gress cannot be interrupted. Exceptions 警告 Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed. 警告 Shall throw parallel\Future\Error\Cancelled if task was a ... y cancelled. 他のマニュアルの関連ページ Python asyncio-extending Linux JM cancel(1) Python asyncio-graph Python concurrent.futures Linux JM aio_cancel(3) Linux JM io_cancel(2) ...
https://man.mtool.work/php/8.3/parallel-future.cancel.html
parallel | PHP 8.3 9745
parallel はじめに parallel is a parallel concurrency extension for PHP ≥ 7.2.0. As of parallel 1.2.0, PHP ≥ 8.0.0 is required. A brief description of the concepts core to parallel follows, more detailed information may be found within this ... ntain class or named function declarations. 注意 : No instructions are prohibited in the files which the task may include. Future The parallel\Future is used to access the return value from the task, and exposes an API for cancellation of the task. Cha ... nnel A task may be scheduled with arguments, use lexical scope variables (by-value), and return a value (via a parallel\Future ), but these only allow uni-directional communication: They allow the programmer to send data into and retrieve data from ... raversable ) event loop, and parallel\Events::poll() method. It allows the programmer to work with sets of channels and or futures. The programmer simply adds channels and futures to the event loop, optionally setting the input for writes with parallel ...
https://man.mtool.work/php/8.3/book.parallel.html
fann_set_scaling_params — Calculate input and output scaling parameters for fut... 9074
fann_set_scaling_params (PECL fann >= 1.0.0) fann_set_scaling_params — Calculate input and output scaling parameters for future use based on training data 説明 function fann_set_scaling_params ( resource $ann , resource $train_data , float ... t $new_input_max , float $new_output_min , float $new_output_max ): bool Calculate input and output scaling parameters for future use based on training data. パラメータ ann ニューラルネットワークリソース。 train_data ニューラルネットワークトレーニングリ ... に true 、それ以外の場合に false を返します。 参考 fann_set_input_scaling_params() - Calculate input scaling parameters for future use based on training data fann_set_output_scaling_params() - Calculate output scaling parameters for future use based on ... training data 他のマニュアルの関連ページ Python __future__ DuckDB Python Function API Python codeop DuckDB Utility Functions Linux JM iswupper(3) Linux JM iswlower(3) ...
https://man.mtool.work/php/8.3/function.fann-set-scaling-params.html
parallel\Future::cancelled — State Detection | PHP 8.3 8768
parallel\Future::cancelled (0.9.0) parallel\Future::cancelled — State Detection 説明 public function parallel\Future::cancelled (): bool Shall indicate if the task was cancelled 他のマニュアルの関連ページ Python asyncio-extending Python asy ... ncio-graph Python concurrent.futures Docker docker compose pull Docker docker-compose pull DuckDB Querying Parquet Files ...
https://man.mtool.work/php/8.3/parallel-future.cancelled.html
parallel\Future::done — State Detection | PHP 8.3 8768
parallel\Future::done (0.8.0) parallel\Future::done — State Detection 説明 public function parallel\Future::done (): bool Shall indicate if the task is completed 他のマニュアルの関連ページ Python asyncio-extending Python asyncio-graph Pytho ... n concurrent.futures Docker docker compose pull Docker docker-compose pull DuckDB Querying Parquet Files ...
https://man.mtool.work/php/8.3/parallel-future.done.html
The parallel\Events class | PHP 8.3 8724
The parallel\Events class (0.9.0) The Event Loop The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read ( parallel\Future::value() , parallel\Channel::recv() ) and write ( parallel\Channel::s ... put ( Input $input ): void /* Targets */ public function addChannel ( parallel\Channel $channel ): void public function addFuture ( string $name , parallel\Future $future ): void public function remove ( string $target ): void /* Behaviour */ public fu ... Events::setTimeout — Behaviour parallel\Events::setInput — Input parallel\Events::addChannel — Targets parallel\Events::addFuture — Targets parallel\Events::remove — Targets parallel\Events::poll — Polling 他のマニュアルの関連ページ Python asyncio-futu ...
https://man.mtool.work/php/8.3/class.parallel-events.html
fann_set_input_scaling_params — Calculate input scaling parameters for future u... 8724
fann_set_input_scaling_params (PECL fann >= 1.0.0) fann_set_input_scaling_params — Calculate input scaling parameters for future use based on training data 説明 function fann_set_input_scaling_params ( resource $ann , resource $train_data , ... float $new_input_min , float $new_input_max ): bool Calculate input scaling parameters for future use based on training data. パラメータ ann ニューラルネットワークリソース。 train_data ニューラルネットワークトレーニングリ ... true 、それ以外の場合に false を返します。 参考 fann_set_output_scaling_params() - Calculate output scaling parameters for future use based on training data 他のマニュアルの関連ページ Python __future__ Python codeop DuckDB Python Function API DuckDB CS ...
https://man.mtool.work/php/8.3/function.fann-set-input-scaling-params.html
PREV 1 2 3 4 5 6 NEXT